pyproject.toml
and install the dependencies
poetry env use python
poetry env list
(should have the (activated)
note next to the previosuly created enviroment)poetry shell
poetry install --with dev
Code-checking and linting tools are configured to run automatically on every commit to save manual efforts.
pip install pre-commit
pre-commit install
pre-commit run --all-file
to execute all pre-commit
hooksThis application uses pytest as the unit testing framework with all tests stored in the tests
directory.
Run all tests with poetry run pytest tests
To run tests and generate a coverage report: poetry run pytest tests --cov --cov-report=html --cov-branch
(replace html
with xml
to a generate xml report, if preferred).