From 947f47a221fa41c575ee02dfb31b9f61ce8e0b10 Mon Sep 17 00:00:00 2001 From: Roger Billerey-Mosier Date: Tue, 27 Jun 2023 15:42:05 -0700 Subject: [PATCH] update documentation for the new required_version option in requirements-txt-fixer --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9751c00..69568eb 100644 --- a/README.md +++ b/README.md @@ -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