From fe480ab4d6c70c32fcc834706641c1e045fb57c1 Mon Sep 17 00:00:00 2001 From: Jo Asplin Date: Wed, 15 Nov 2023 09:31:16 +0100 Subject: [PATCH] Added some extra documentation for pre-commit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0b63f65..d60ecc5 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,5 @@ E-SOH datastore PoCs - To update the pre-commit hooks in `.pre-commit-config.yaml`, run `pre-commit autoupdate` - To apply the pre-commit for every file in the repository, run `pre-commit run --config './.pre-commit-config.yaml' --all-files` +- To see all options to `pre-commit run`, run `pre-commit help run` (in particular, the `--files` option can be used to apply the command to selected files only). - To commit without the pre-commit hook, run `git commit -m "Some message" --no-verify`