Skip to content

alphagov/emergency-alerts-utils

Repository files navigation

emergency-alerts-utils

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.

Setting up

Local Development Environment Setup

Ensure that you have first followed all of the steps, that can be found here.

Python version

You can find instructions on specifying the correct Python version here.

Pre-commit

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.

To test the library

# install dependencies, etc.
make bootstrap

# run the tests
make test

About

Code shared between Emergency Alerts repositories

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 21

Languages