Merge pull request #227 from pre-commit/better_tests_regex

Use a better regex for name-tests-test
This commit is contained in:
Anthony Sottile 2017-07-30 21:08:20 -04:00 committed by GitHub
commit 1553c96e2a

View file

@ -196,7 +196,7 @@
description: This verifies that test files are named correctly
entry: name-tests-test
language: python
files: ^tests/.+\.py$
files: (^|/)tests/.+\.py$
- id: no-commit-to-branch
name: "Don't commit to branch"
entry: no-commit-to-branch