Difference between revisions of "Pre-commit"
Jump to navigation
Jump to search
| (2 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 28: | Line 28: | ||
* [[Linter]] | * [[Linter]] | ||
* [[Githooks]] | * [[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: