mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
run-sub-hooks hook added
This commit is contained in:
parent
5df1a4bf6f
commit
ec577f284a
5 changed files with 130 additions and 0 deletions
|
|
@ -95,6 +95,10 @@ Add this to your `.pre-commit-config.yaml`
|
|||
- `--no-sort-keys` - when autofixing, retain the original key ordering (instead of sorting the keys)
|
||||
- `--top-keys comma,separated,keys` - Keys to keep at the top of mappings.
|
||||
- `requirements-txt-fixer` - Sorts entries in requirements.txt and removes incorrect entry for `pkg-resources==0.0.0`
|
||||
- `run-sub-hooks` - Runs subprocess with alternative pre-commit configuration.
|
||||
- `--target` - target directory (doesn't have to be repository root
|
||||
- `--config ...` - Control
|
||||
- `requirements-txt-fixer` - Sorts entries in requirements.txt and removes incorrect entry for `pkg-resources==0.0.0`
|
||||
- `sort-simple-yaml` - Sorts simple YAML files which consist only of top-level
|
||||
keys, preserving comments and blocks.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue