Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 804 Bytes

development.md

File metadata and controls

50 lines (36 loc) · 804 Bytes

Development

Setup

Install needed dependencies (only macOS example with brew).

brew install poetry pre-commit
poetry install --with dev
pre-commit install
pre-commit

Test

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

Build

Update the version number with the help of poetry.

poetry version patch          # or minor or major
poetry build

Upload to pypi.org

poetry publish

Update

poetry update
poetry update --with dev
poetry export -f requirements.txt --output requirements.txt --without-hashes