- Clone the repository using
git clone
- Install pre-commit via
pip install pre-commit
- Run
pre-commit install
to set up pre-commit hooks - Make changes to the code, and commit your changes to a separate branch
- Create a fork of the repository on GitHub
- Push your branch to your fork, and open a pull request
- When first creating a new project, it is helpful to run
pre-commit run --all-files
to ensure all files pass the pre-commit checks. - A quick way to fix
black
issues is by installing black (pip install black
) and running theblack
command at the root of your repository. - Sometimes,
black
andflake8
do not agree. Add options to your.flake8
file to fix these things. See the flake8 configuration docs for more details. - A quick way to fix
codespell
issues is by installing codespell (pip install codespell
) and running thecodespell -w
command at the root of your directory. - The .codespellrc file can be used fix any other codespell issues, such as ignoring certain files, directories, words, or regular expressions.
Releases are automatically produced based on the commits that are merged into master. We rely on semantic-release to tag releases and produce CHANGELOG.md. To support that automated process, you need to follow that convention on your commit messages.