mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-30 18:26:53 +00:00
update documentation for the new required_version option in requirements-txt-fixer
This commit is contained in:
parent
57bf19d519
commit
947f47a221
1 changed files with 3 additions and 1 deletions
|
|
@ -179,7 +179,9 @@ the following commandline options:
|
|||
- `--top-keys comma,separated,keys` - Keys to keep at the top of mappings.
|
||||
|
||||
#### `requirements-txt-fixer`
|
||||
Sorts entries in requirements.txt and constraints.txt and removes incorrect entry for `pkg-resources==0.0.0`
|
||||
Sorts entries in requirements.txt and constraints.txt and removes incorrect entry for `pkg-resources==0.0.0`. Optionally flags packages that are missing
|
||||
a version string. You can configure this with the following commandline options:
|
||||
- `--require_version` - Fail if any package is missing a version string.
|
||||
|
||||
#### `sort-simple-yaml`
|
||||
Sorts simple YAML files which consist only of top-level
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue