RRA Climate Health
A collection of geospatial models examining the relationship between climate variables, socio-demographic indicators, and health outcomes.
Setting up a development environment
- Clone this repository
-
Create a conda environment with python and the R dependencies for the model.
-
Activate the conda environment
-
Use
pip
to installpoetry
in the conda environment -
Install the dependencies
Pre-commit
Pre-commit hooks run all the auto-formatting (ruff format
), linters (e.g. ruff
and mypy
), and other quality
checks to make sure the changeset is in good shape before a commit/push happens.
You can install the hooks with (runs for each commit):
Or if you want them to run only for each push:
Or if you want e.g. want to run all checks manually for all files: