add Tests and cleanup testing issues

This commit is contained in:
Evan J Felix 2017-03-17 13:10:51 -07:00
parent 564a82ca89
commit c78ebd0d85
4 changed files with 49 additions and 6 deletions

View file

@ -56,6 +56,8 @@ Add this to your `.pre-commit-config.yaml`
- `forbid-new-submodules` - Prevent addition of new git submodules.
- `name-tests-test` - Assert that files in tests/ end in `_test.py`.
- Use `args: ['--django']` to match `test*.py` instead.
- `no-commit-to-branch` - Protect specific branches from direct checkins.
- Use `args: -b <branch> ` to set the branch. `master` is the default if no argument is set.
- `pyflakes` - Run pyflakes on your python files.
- `pretty-format-json` - Checks that all your JSON files are pretty. "Pretty"
here means that keys are sorted and indented. You can configure this with