This adds linting (using ruff) and code testing (using tox) in a GitHub action during the pull request stage.
Fixing black pre-commit version. This is recommended here. Although I would recommend replacing black with ruff in the pre-commit hooks (this collates each black, isort and flake8 and is written in speedy rust).
I also added ruff as a development requirement to setup.py.
This adds linting (using ruff) and code testing (using tox) in a GitHub action during the pull request stage.
Fixing black pre-commit version. This is recommended here. Although I would recommend replacing black with ruff in the pre-commit hooks (this collates each black, isort and flake8 and is written in speedy rust).
I also added ruff as a development requirement to
setup.py
.