Working out some puzzles ahead of the UK Challenge
To install pre-commit
hooks locally, execute pip install pre-commit
followed by pre-commit install
. This only needs to be done once per repo,
and from then on checks are made whenever committing. See steps
here
to enable these checks always.
With the help of direnv
and the
following
in ~/.direnv
then one can switch conda
environments automatically with the
presence of layout anaconda <environment>
in the project's .envrc
.