-
Fork/clone the repository.
-
Install dependencies (you'll probably want to create a virtual environment, using your preferred method, first).
pip install poetry poetry install
-
Install pre-commit hooks
pre-commit install
-
After making changes and having written tests, make sure tests pass:
pytest
-
Commit, push, and make a PR.
chainlibpy
adheres to semantic versioning via the bump2version
utility.
Install it with pip:
pip install bump2version
Whenever you need to bump version, in the project root directory do:
bump2version (major | minor | patch)
git push <remote> <branch> --follow-tags
poetry build
poetry publish