Difference between revisions of "Pre-commit"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 13: | Line 13: | ||
* Configuration: <code>[[.pre-commit-config.yaml]]</code> | * Configuration: <code>[[.pre-commit-config.yaml]]</code> | ||
− | * [[GitHub Actions]]: <code>[[uses: | + | * [[GitHub Actions]]: <code>[[uses: pre-commit/action]]@v3</code> |
== Related == | == Related == |
Revision as of 08:37, 6 April 2023
Contents
Installation
brew install pre-commit
pip install pre-commit
pre-commit --help
Examples
- Configuration:
.pre-commit-config.yaml
Related
git commit --no-verify
git commit
requirements.txt
- Git hook scripts
- Pull Request (PR)
.pre-commit-config.yaml
- GitHub Actions:
pre-commit:
See also
Advertising: