Install needed dependencies (only macOS example with brew).
brew install poetry pre-commit
poetry install --with dev
pre-commit install
pre-commit
Run the following tests and validations and make sure that they all pass before committing. The tests are also run by GitHub Actions and with pre-commit
before committing.
black .
ruff .
bandit -r src/rssfixer
coverage run -m pytest
coverage report -m
Update the version number with the help of poetry.
poetry version patch # or minor or major
poetry build
poetry publish
poetry update
poetry update --with dev
poetry export -f requirements.txt --output requirements.txt --without-hashes