File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -114,18 +114,18 @@ This hook replaces double quoted strings with single quoted strings.
114114#### ` end-of-file-fixer `
115115Makes sure files end in a newline and only a newline.
116116
117+ #### ` file-contents-sorter `
118+ Sort the lines in specified files (defaults to alphabetical).
119+ You must provide the target [ ` files ` ] ( https://pre-commit.com/#config-files ) as input.
120+ Note that this hook WILL remove blank lines and does NOT respect any comments.
121+
117122#### ` fix-byte-order-marker `
118123removes UTF-8 byte order marker
119124
120125#### ` fix-encoding-pragma `
121126Add ` # -*- coding: utf-8 -*- ` to the top of python files.
122127 - To remove the coding pragma pass ` --remove ` (useful in a python3-only codebase)
123128
124- #### ` file-contents-sorter `
125- Sort the lines in specified files (defaults to alphabetical).
126- You must provide list of target files as input to it.
127- Note that this hook WILL remove blank lines and does NOT respect any comments.
128-
129129The following arguments are available:
130130- ` --ignore-case ` - fold lower case to upper case characters.
131131- ` --unique ` - ensure each line is unique.
You can’t perform that action at this time.
0 commit comments