note about running independently

This commit is contained in:
stvnrlly
2023-11-17 09:50:02 -05:00
parent 63952e35a9
commit b9db94adbb

View File

@@ -236,6 +236,8 @@ Once in the view, you'll likely want to adjust the time range in the upper right
We're using [`pre-commit`](https://pre-commit.com/) to manage hooks in order to automate common tasks or easily-missed cleanup. It's installed as part of `make bootstrap` and is limited to this project's virtualenv.
To run the hooks in advance of a `git` operation, use `poetry run pre-commit run`. For running across the whole codebase (useful after adding a new hook), use `poetry run pre-commit run --all-files`.
The configuration is stored in `.pre-commit-config.yaml`. In that config, there are links to the repos from which the hooks are pulled, so hop through there if you want a detailed description of what each one is doing.
We do not maintain any hooks in this repository.