mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 12:34:17 +00:00
update readme for requirement files using custom names
This commit is contained in:
parent
6b03546fc3
commit
8ef4057f45
1 changed files with 2 additions and 0 deletions
|
|
@ -182,6 +182,8 @@ the following commandline options:
|
||||||
#### `requirements-txt-fixer`
|
#### `requirements-txt-fixer`
|
||||||
Sorts entries in requirements.txt and removes incorrect entry for `pkg-resources==0.0.0`
|
Sorts entries in requirements.txt and removes incorrect entry for `pkg-resources==0.0.0`
|
||||||
|
|
||||||
|
Use `args: ["file1.txt", "requirements/file2.txt"]` to sort requirement files with custom names.
|
||||||
|
|
||||||
#### `sort-simple-yaml`
|
#### `sort-simple-yaml`
|
||||||
Sorts simple YAML files which consist only of top-level
|
Sorts simple YAML files which consist only of top-level
|
||||||
keys, preserving comments and blocks.
|
keys, preserving comments and blocks.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue