mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-11 05:44:16 +00:00
Merge pull request #227 from pre-commit/better_tests_regex
Use a better regex for name-tests-test
This commit is contained in:
commit
1553c96e2a
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@
|
||||||
description: This verifies that test files are named correctly
|
description: This verifies that test files are named correctly
|
||||||
entry: name-tests-test
|
entry: name-tests-test
|
||||||
language: python
|
language: python
|
||||||
files: ^tests/.+\.py$
|
files: (^|/)tests/.+\.py$
|
||||||
- id: no-commit-to-branch
|
- id: no-commit-to-branch
|
||||||
name: "Don't commit to branch"
|
name: "Don't commit to branch"
|
||||||
entry: no-commit-to-branch
|
entry: no-commit-to-branch
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue