mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-30 18:26:53 +00:00
Fix code syntax in README
This commit is contained in:
parent
78fd6916dd
commit
3284a1aa57
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ Add this to your `.pre-commit-config.yaml`
|
|||
- `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.
|
||||
- `fix-encoding-pragma` - Add # -*- coding: utf-8 -*- to the top of python files
|
||||
- `fix-encoding-pragma` - Add `# -*- coding: utf-8 -*-` to the top of python files
|
||||
- `flake8` - Run flake8 on your python files.
|
||||
- `name-tests-test` - Assert that files in tests/ end in `_test.py`.
|
||||
- Use `args: ['--django']` to match `test*.py` instead.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue