This project is managed using Poetry. After configuring Poetry on your operating system, you can install the dependencies using
poetry install
We use pytest
to execute our test suite (written in the tests
folder). Verify that all tests pass by calling;
poetry run pytest tests
We use pylint
and pycodestyle
to uniform our style. Make sure they report no errors by running:
poetry run pylint pytamaro
poetry run pycodestyle .
We use pyright
to type check our code. Verify that it reports no errors:
poetry run pyright
The documentation can be built in different formats. For example, we can build the HTML version:
cd docs
make html
The homepage will be available at _build/html/index.html
(inside the docs
folder).
- Mention your changes in the
CHANGELOG.md
file.
- Make sure you have installed
bumpversion
:poetry self add poetry-bumpversion
. - Execute the relevant poetry command to bump the version (e.g.,
poetry version patch --dry-run
). - Move the changes in
CHANGELOG.md
from "unreleased" to the proper version - Commit and push the new version
- Publish the new version on PyPI using
poetry publish
.