Document file-contents-sorter arguments

Re: 40cc31b02c/pre_commit_hooks/file_contents_sorter.py (L54-L65)
This commit is contained in:
Hugo van Kemenade 2022-02-21 18:44:06 +02:00 committed by GitHub
parent 40cc31b02c
commit e7cf495dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -125,6 +125,10 @@ Sort the lines in specified files (defaults to alphabetical).
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.