A new version of Poetry broke isort which caused errors when running
pre-commit.
This PR runs `pre-commit autoupdate` which updates the configuration
to use the newest isort, which has a hotfix for the bug. It also
updates pre-commit, black, and flake8 as a side-effect.
* Change black version back to 22.12
These include flake8 linting, black and isort formatting
as well as some general hooks with minor checks.
* .pre-commit-config.yaml
* pyproject.toml : Run black on test files also.