Shared Python code for GOV.UK Emergency Alerts applications. Standardises how to do logging, rendering message templates, parsing spreadsheets, talking to external services and more.
Ensure that you have first followed all of the steps, that can be found here.
You can find instructions on specifying the correct Python version here.
We use pre-commit to ensure that committed code meets basic standards for formatting, and will make basic fixes for you to save time and aggravation.
Install pre-commit system-wide with, eg brew install pre-commit
. Then, install the hooks in this repository with pre-commit install --install-hooks
.
# install dependencies, etc.
make bootstrap
# run the tests
make test