This repo uses pre-commit to manage pre-commit Git hooks for maintaining several quality and stylistic standards; see .pre-commit-config.yaml for details.
MacOS: Install with brew install pre-commit.
Windows+WSL:
- First install Python's
pippackage manager withsudo apt install python3-pip. - Then, install
pre-commitwithpip install pre-commit. This should installpre-commitin the~/.local/bindirectory. - Add this directory to your
PATH. Add the following to~/.bashrc:
export PATH="$PATH:$HOME/.local/bin"All developers:
- From the root of this repo, run
pre-commit installto set up a Git pre-commit hook in.git/hooks/pre-commit. - Then, run
pre-commit install-hooksto install the environments for this project's specific hooks.