Polymath-custom extensions for Foxglove.
Pre-commit hooks are provided to maintain code standards for this repository.
- If you do not have pre-commit installed, run
python3 -m pip install pre-commit
- For preexisting repositories, you must run
pre-commit install
in that repository - You can automatically install pre-commit for newly cloned repositories by running
$ git config --global init.templateDir ~/.git-template $ pre-commit init-templatedir ~/.git-template pre-commit installed at /home/asottile/.git-template/hooks/pre-commit
Now all git commits will be automatically gated by the configured checks.