From b8470d61294be2e61d6cf956a17d272666bebf18 Mon Sep 17 00:00:00 2001 From: jeffshek Date: Wed, 8 Jun 2016 00:38:07 -0400 Subject: [PATCH] update name in pre-commit hook to explain django --- {{cookiecutter.project_slug}}/.pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index 9f0c91201..86a3d0c7c 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -7,8 +7,9 @@ - id: flake8 files: \.(py|sh)$ - id: name-tests-test + name: Django Tests should start with test_ prefix 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 sha: 1.0.4 hooks: