Template and reference for the [pre-commit framework](https://pre-commit.com).
## Getting started
...
...
@@ -17,13 +24,13 @@
3. follow steps from [pre-commit Quick start guide](https://pre-commit.com/#quick-start) to set it up and run it
1.[add/edit pre-commit configuration](https://pre-commit.com/#2-add-a-pre-commit-configuration), for example Python code formatter [Black](https://github.com/psf/black)(notice the authors advise to use the mirror repo [black-pre-commit-mirror](https://github.com/psf/black-pre-commit-mirror))
2. install Git hook scripts
2. install Git hook scripts to automate running
```bash
pre-commit install
```
This creates a Git pre-commit hook that installs and runs pre-commit for other users of this repository as well.
This does not affect other clones of the repository, the hooks have to be installed there again.