Difference between revisions of "Pre-commit"

From wikieduonline
Jump to navigation Jump to search
 
(17 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
* Homepage: https://pre-commit.com/
 
* Homepage: 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>
 
* <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>
+
* <code>[[pre-commit run --all-files]]</code>
  
 
* Configuration: <code>[[.pre-commit-config.yaml]]</code>
 
* Configuration: <code>[[.pre-commit-config.yaml]]</code>
 +
 +
* [[GitHub Actions]]: <code>[[uses: pre-commit/action]]@v3.0.0</code>
  
 
== Related ==
 
== Related ==
Line 19: Line 21:
 
* <code>[[requirements.txt]]</code>
 
* <code>[[requirements.txt]]</code>
 
* [[Git hook]] scripts
 
* [[Git hook]] scripts
* [[Pull request]]
+
* [[Pull Request (PR)]]
* [[.pre-commit-config.yaml]]
+
* <code>[[.pre-commit-config.yaml]]</code>
 +
* [[GitHub Actions]]: <code>[[pre-commit:]]</code>
 +
* [[Fourmolu]]
 +
* [[Linter]]
  
 
== See also ==
 
== See also ==
 
* {{pre-commit}}
 
* {{pre-commit}}
* {{git}}
 
  
 +
[[Category:pre-commit]]
 
[[Category:Git]]
 
[[Category:Git]]

Latest revision as of 19:21, 7 February 2024

Advertising: