Difference between revisions of "Pre-commit"
Jump to navigation
Jump to search
| Line 20: | Line 20: | ||
* <code>[[git commit]]</code> | * <code>[[git commit]]</code> | ||
* <code>[[requirements.txt]]</code> | * <code>[[requirements.txt]]</code> | ||
| − | * [[Git | + | * [[Git Hooks (.git/hooks)]] |
* [[Pre-commit Terraform hooks]] | * [[Pre-commit Terraform hooks]] | ||
* [[Pull Request (PR)]] | * [[Pull Request (PR)]] | ||
Revision as of 15:53, 25 June 2025
Contents
Installation
brew install pre-commitpip install pre-commitpre-commit --help
Examples
- Configuration:
.pre-commit-config.yaml
Related
git commit --no-verifygit commitrequirements.txt- Git Hooks (.git/hooks)
- Pre-commit Terraform hooks
- Pull Request (PR)
.pre-commit-config.yaml- GitHub Actions:
pre-commit: - Fourmolu
- Linter
See also
Advertising: