mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
Update README.md based on maintainer's wish
This commit is contained in:
parent
41ff0e10a8
commit
eb0c3ba0da
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue