commit | e7cf495decb99b396b322db5aad275af9a218267 | [log] [tgz] |
---|---|---|
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | Mon Feb 21 18:44:06 2022 +0200 |
committer | GitHub <noreply@github.com> | Mon Feb 21 18:44:06 2022 +0200 |
tree | 26507825c9de6d47adc855480f02f42daf153f97 | |
parent | 40cc31b02ceb72045509576e51d9c82503751422 [diff] |
Document file-contents-sorter arguments Re: https://github.com/pre-commit/pre-commit-hooks/blob/40cc31b02ceb72045509576e51d9c82503751422/pre_commit_hooks/file_contents_sorter.py#L54-L65
diff --git a/README.md b/README.md index c5a199e..0bf5751 100644 --- a/README.md +++ b/README.md
@@ -125,6 +125,10 @@ You must provide list of target files as input to it. Note that this hook WILL remove blank lines and does NOT respect any comments. +The following arguments are available: +- `--ignore-case` - fold lower case to upper case characters. +- `--unique` - ensure each line is unique. + #### `forbid-new-submodules` Prevent addition of new git submodules.