Please read the README for more information about the project.
This project uses pre-commit
to run a series of checks before each commit.
If you don't already have pre-commit
installed, you can install globally with:
pip install pre-commit
Alternatively, you can use homebrew on macOS:
brew install pre-commit
Then, to install the pre-commit hooks, run:
pre-commit install
The pre-commit hooks will run automatically before each commit. However, many of the hooks can be used to automatically fix issues as well. To run the pre-commit hooks manually and resolve easily fixed issues, run:
pre-commit run --all-files