Update README.md based on maintainer's wish

This commit is contained in:
Morgan Courbet 2017-07-18 21:47:27 +02:00
parent 41ff0e10a8
commit eb0c3ba0da
No known key found for this signature in database
GPG key ID: 467299D324A21B24

View file

@ -62,7 +62,7 @@ Add this to your `.pre-commit-config.yaml`
- `--fix={auto,crlf,lf,no}`
- `auto` - Replaces automatically the most frequent line ending. This is the default argument.
- `crlf`, `lf` - Forces to replace line ending by respectively CRLF and LF.
- `no` - Checks if there is any mixed line ending.
- `no` - Checks if there is any mixed line ending without modifying any file.
- `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.