Install the project dependencies:
python3 -m pip install -e '.[dev]'
pre-commit install
Run the tests:
python3 -m pytest
-
Update the CHANGELOG with description of changes
-
Update the version number in pyproject.toml
-
Push the changes to the main branch
-
Publish to PyPi:
export FLIT_USERNAME=__token__ export FLIT_PASSWORD=<your-pypi-token> flit publish