Difference between revisions of "Pre-commit"

From wikieduonline
Jump to navigation Jump to search
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{lowercase}}
+
{{lowercase}} [[wikipedia:pre-commit]] (https://pre-commit.com/)
* Homepage: https://pre-commit.com/
+
* https://github.com/pre-commit/action
  
Installation:
+
== Installation ==
brew install pre-commit
+
* <code>[[brew install pre-commit]]</code>
 
* <code>[[pip install]] pre-commit</code>
 
* <code>[[pip install]] pre-commit</code>
 +
* <code>[[pre-commit --help]]</code>
 +
 +
== Examples ==
 +
* <code>[[pre-commit (execution example)]]</code>
 
* <code>[[pre-commit install]]</code>
 
* <code>[[pre-commit install]]</code>
 +
* <code>[[pre-commit run --all-files]]</code>
 +
 +
* Configuration: <code>[[.pre-commit-config.yaml]]</code>
  
* <code>[[pre-commit run]] --all-files</code>
+
* [[GitHub Actions]]: <code>[[uses: pre-commit/action]]@v3.0.0</code>
  
 
== Related ==
 
== Related ==
 +
* <code>[[git commit --no-verify]]</code>
 +
* <code>[[git commit]]</code>
 
* <code>[[requirements.txt]]</code>
 
* <code>[[requirements.txt]]</code>
* [[Git hook]] scripts
+
* [[Git Hooks (.git/hooks)]]
* [[Pull request]]
+
* [[Pre-commit Terraform hooks]]
* [[.pre-commit-config.yaml]]
+
* [[Pull Request (PR)]]
 +
* <code>[[.pre-commit-config.yaml]]</code>
 +
* [[GitHub Actions]]: <code>[[pre-commit:]]</code>
 +
* [[Fourmolu]]
 +
* [[Linter]]
 +
* [[Githooks]]
 +
* <code>[[.git/hooks/]]</code>
 +
* [[kics]]
  
 
== See also ==
 
== See also ==
* {{git}}
+
* {{pre-commit}}
  
 +
[[Category:pre-commit]]
 
[[Category:Git]]
 
[[Category:Git]]

Latest revision as of 15:23, 30 March 2026

Advertising: