This is an implementation of the exercises from Cosmic Python.
Commits are tagged according to where in the book the implementation is.
To create a development environment, run
poetry install
and then activate it with
poetry shell
Then run
pre-commit install
to install pre-commit hooks.
To run all tests, run
summon test
for coverage, and optionally html report generation, run
summon test --coverage --html
To run all linters/static checkers (flake8, pylint, mypy), run
summon lint
To format code run
summon format
To just check formatting, run
summon format --check