Use black to format your code!
To publish a release use bumpversion. This will update the pyproject.toml
and tag the commit.
#TODO a Github action will pick up the new tag and publish a new version on pypi
To trigger the whole build process use
ship.sh
.
./ship.sh patch|minor
poetry run pytest .
poetry build
# Test PyPI
poetry publish --build -r testpypi
# PyPI
poetry publish --build
pip install -i https://testpypi.python.org/simple openbrokerapi
cd doc
sphinx-build -b html . _build