Difference between revisions of "Pre-commit"
Jump to navigation
Jump to search
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{lowercase}} | + | {{lowercase}} [[wikipedia:pre-commit]] (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> | ||
| 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)]] | ||
| Line 27: | Line 27: | ||
* [[Fourmolu]] | * [[Fourmolu]] | ||
* [[Linter]] | * [[Linter]] | ||
| + | * [[Githooks]] | ||
| + | * <code>[[.git/hooks/]]</code> | ||
| + | * [[kics]] | ||
== See also == | == See also == | ||
Latest revision as of 15:23, 30 March 2026
wikipedia:pre-commit (https://pre-commit.com/)
Contents
Installation[edit]
brew install pre-commitpip install pre-commitpre-commit --help
Examples[edit]
- Configuration:
.pre-commit-config.yaml
Related[edit]
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
- Githooks
.git/hooks/- kics
See also[edit]
Advertising: