Merge pull request #109 from mattclegg/no-sort-keys

Adding no-sort-keys to pretty_format_json
This commit is contained in:
Anthony Sottile 2016-04-14 08:11:26 -07:00
commit ea867c2e68
6 changed files with 41 additions and 9 deletions

View file

@ -51,6 +51,8 @@ Add this to your `.pre-commit-config.yaml`
- Use `args: ['--django']` to match `test*.py` instead.
- `pyflakes` - Run pyflakes on your python files.
- `pretty-format-json` - Checks that all your JSON files are pretty
- Use `args: ['--autofix']` to automatically fixing the encountered not-pretty-formatted files and
`args: ['--no-sort-keys']` to disable the sort on the keys.
- `requirements-txt-fixer` - Sorts entries in requirements.txt
- `trailing-whitespace` - Trims trailing whitespace.
- Markdown linebreak trailing spaces preserved for `.md` and`.markdown`;