Pre-Commit Hooks

To set up pre-commit hooks that automatically check your code when you commit, run the following in the root directory of the repository

$ pre-commit install

Testing

To execute the tests and measure the code coverage, run:

$ pytest --cov --cov-report=xml

Releasing

Releases are published automatically when a tag is pushed to the main branch on GitHub.

# Create a commit and tag it as release
$ git commit -m "<commit message>"
$ git tag -a "release"

# Push
$ git push upstream --tags