Before getting started, install Poetry.
To install the project:
poetry install
Optionally, you can also install pre-commit hooks:
poetry run pre-commit install
Lastly, to see common tasks with taskipy:
poetry run task --list
To ensure code quality, we use the following tools:
To run these:
poetry run task lint
To run tests via pytest:
poetry run test
Releasing is fully automated via our CI pipeline. On each commit to main
, it will:
- Lint and test the codebase
- Determine if a new version should be released (using conventional commits)
- If so, bump the version and publish a new release
To override this behavior, include [cd skip]
in your commit message.