Difference between revisions of "Pre-commit"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
== Examples == | == Examples == | ||
− | * <code>[[pre-commit]]</code> | + | * <code>[[pre-commit (execution example)]]</code> |
* <code>[[pre-commit install]]</code> | * <code>[[pre-commit install]]</code> | ||
* <code>[[pre-commit run --all-files]]</code> | * <code>[[pre-commit run --all-files]]</code> |
Revision as of 09:46, 20 June 2023
Contents
Installation
brew install pre-commit
pip install pre-commit
pre-commit --help
Examples
- Configuration:
.pre-commit-config.yaml
Related
git commit --no-verify
git commit
requirements.txt
- Git hook scripts
- Pull Request (PR)
.pre-commit-config.yaml
- GitHub Actions:
pre-commit:
- Fourmolu
See also
Advertising: