Code Style#
Make sure you have pre-commit in your environment and project hooks
are installed to your Git directory.
Here is a checklist you can use just before committing:
Check
pre-commithooks are passing:just formatCheck typing errors:
just type
Run tests:
just test
Additionally, you may check coverage stats to see if you have missed any important lines:
just coverageWarning
If you have changed any of the project dependencies (e.g. Python requirements or Docker image tags), you need to rebuild Docker image(s) before running tests.
If new documentation is added, make sure it builds and content is rendered properly:
just docsFinally, if developing an API, check the OpenAPI documentation. It should render properly and present appropriate information.