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-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: