Going through the exercise of modeling a payroll system.
I am only using classes to stick to the business logic and not depend on any ORM or DB implementation.
TODO: actually add DB and web (Flask) layers.
Create a virtual environment and install the dependencies:
make setup
To run the tests:
make test
To run the tests + mypy + flake8:
make ci
(mypy
takes a little bit of time the first run, then it's fast.)
To make its pass a requirement before committing:
pre-commit install