Difference between revisions of "Pre-commit"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
* Configuration: <code>[[.pre-commit-config.yaml]]</code> | * Configuration: <code>[[.pre-commit-config.yaml]]</code> | ||
− | * [[GitHub Actions]]: <code>uses: pre-commit/[email protected]</code> | + | * [[GitHub Actions]]: <code>[[uses:]] pre-commit/[email protected]</code> |
== Related == | == Related == |
Revision as of 17:54, 28 February 2023
Contents
Installation
brew install pre-commit
pip install pre-commit
pre-commit --help
Examples
pre-commit install
pre-commit run --all-files
- Configuration:
.pre-commit-config.yaml
- GitHub Actions:
uses: pre-commit/[email protected]
Related
git commit --no-verify
git commit
requirements.txt
- Git hook scripts
- Pull request
- .pre-commit-config.yaml
- GitHub Actions:
pre-commit:
See also
Advertising: