PyTamaro is a Python educational library designed for teaching problem decomposition using graphics.
This project is managed using Poetry.
After cloning the project, you can install the dependencies with poetry install
.
Mention your changes in the CHANGELOG.md
file.
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
- 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
.