Difference between revisions of "Pre-commit"
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
* Homepage: https://pre-commit.com/ | * Homepage: https://pre-commit.com/ | ||
* https://github.com/pre-commit/action | * https://github.com/pre-commit/action | ||
| − | |||
| − | |||
| − | |||
== Installation == | == Installation == | ||
* <code>[[brew install pre-commit]]</code> | * <code>[[brew install pre-commit]]</code> | ||
Revision as of 17:59, 28 February 2023
Contents
Installation
brew install pre-commitpip install pre-commitpre-commit --help
Examples
pre-commit installpre-commit run --all-files
- Configuration:
.pre-commit-config.yaml
- GitHub Actions:
uses: pre-commit/[email protected]
Related
git commit --no-verifygit commitrequirements.txt- Git hook scripts
- Pull request
- .pre-commit-config.yaml
- GitHub Actions:
pre-commit:
See also
Advertising: