Developer docs begin - precommit

pull/166/head
evelynmitchell 1 year ago
parent 5f941faf4e
commit 520d4cb25d

@ -0,0 +1,21 @@
Developers
Install pre-commit (https://pre-commit.com/)
```bash
pip install pre-commit
```
Check that it's installed
```bash
pre-commit --versioni
```
This repository already has a pre-commit configuration. To install the hooks, run:
```bash
pre-commit install
```
Now when you make a git commit, the black code formatter and ruff linter will run.

@ -73,4 +73,6 @@ rich
mkdocs
mkdocs-material
mkdocs-glightbox
mkdocs-glightbox
pre-commit

Loading…
Cancel
Save