Merge pull request #5888 from jbampton/update-contributing-guide

CONTRIBUTING.md: update `pre-commit` info with `make` and `rake`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-12-29 14:47:49 +09:00
committed by GitHub
+8
View File
@@ -37,6 +37,14 @@ Sometimes you might need to skip one or more hooks which can be done with the `S
`$ SKIP=yamllint git commit -m "foo"`
For convenience, we have added `pre-commit run --all-files` and `pre-commit autoupdate`
to both the Makefile and the Rakefile. Run them with:
- `make check` or `rake check`
- `make checkupdate` or `rake checkupdate`
### pre-commit quick links
- [Quick start](https://pre-commit.com/#quick-start)
- [Usage](https://pre-commit.com/#usage)
- [pre-commit autoupdate](https://pre-commit.com/#pre-commit-autoupdate)