mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-29 17:29:45 +03:00
update name in pre-commit hook to explain django
This commit is contained in:
parent
4d0ccdcd69
commit
b8470d6129
|
@ -7,8 +7,9 @@
|
||||||
- id: flake8
|
- id: flake8
|
||||||
files: \.(py|sh)$
|
files: \.(py|sh)$
|
||||||
- id: name-tests-test
|
- id: name-tests-test
|
||||||
|
name: Django Tests should start with test_ prefix
|
||||||
files: tests/.+\.py$
|
files: tests/.+\.py$
|
||||||
args: ['--django'] # Use args: ['--django'] to match test*.py instead.
|
args: ['--django'] # args: ['--django'] will match test*.py instead.
|
||||||
- repo: git://github.com/FalconSocial/pre-commit-python-sorter
|
- repo: git://github.com/FalconSocial/pre-commit-python-sorter
|
||||||
sha: 1.0.4
|
sha: 1.0.4
|
||||||
hooks:
|
hooks:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user