Developer environment#
This project uses poetry for package management. Install it with
pip install poetrySet up the environment is easy, just use
poetry installThe makefile contains some useful commands when developing:
make testruns the tests (including coverage)make formatformats the package codemake lintruns the linters (check the output)make cleanremoves build/test artifacts, etc
And for docs:
make build-docsbuilds the docsmake clean-docsremoves docs build
Releasing#
Readthedocs has a webhook connected to pushes on the main branch. It will trigger and update automatically.
Create a release on github, create a tag with the right version, manually copy paste from the changelog
Trigger the build pipeline manually to release to PyPi