comet-toolkit / comet_maths

GNU Lesser General Public License v3.0
6 stars 1 forks source link

Minor/automate testing #9

Closed JamieMcMillan closed 7 months ago

JamieMcMillan commented 7 months ago

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.