This commit is contained in:
Anthony Sottile 2015-02-22 08:39:33 -08:00
parent c4c3c735fd
commit 9f107a0327
4 changed files with 20 additions and 8 deletions

View file

@ -31,12 +31,12 @@ Add this to your `.pre-commit-config.yaml`
- `check-xml` - Attempts to load all xml files to verify syntax.
- `check-yaml` - Attempts to load all yaml files to verify syntax.
- `debug-statements` - Check for pdb / ipdb / pudb statements in code.
- `double-quote-string-fixer` - This hook replaces double quoted strings with single quoted strings
- `end-of-file-fixer` - Makes sure files end in a newline and only a newline.
- `flake8` - Run flake8 on your python files
- `name-tests-test` - Assert that files in tests/ end in _test.py
- `pyflakes` - Run pyflakes on your python files
- `requirements-txt-fixer` - Sorts entries in requirements.txt
- `double-quote-string-fixer` - This hook replaces double quoted strings with single quoted strings
- `trailing-whitespace` - Trims trailing whitespace.
### As a standalone package