mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-31 02:36:52 +00:00
document --no-ensure-ascii
This commit is contained in:
parent
febac42f8e
commit
29f86dba1b
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ Add this to your `.pre-commit-config.yaml`
|
|||
the following commandline options:
|
||||
- `--autofix` - automatically format json files
|
||||
- `--indent ...` - Control the indentation (either a number for a number of spaces or a string of whitespace). Defaults to 4 spaces.
|
||||
- `--no-ensure-ascii` preserve unicode characters instead of converting to escape sequences
|
||||
- `--no-sort-keys` - when autofixing, retain the original key ordering (instead of sorting the keys)
|
||||
- `--top-keys comma,separated,keys` - Keys to keep at the top of mappings.
|
||||
- `requirements-txt-fixer` - Sorts entries in requirements.txt and removes incorrect entry for `pkg-resources==0.0.0`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue