mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
Document file-contents-sorter arguments
Re: 40cc31b02c/pre_commit_hooks/file_contents_sorter.py (L54-L65)
This commit is contained in:
parent
40cc31b02c
commit
e7cf495dec
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue