mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 04:54:16 +00:00
name-tests-test: Search tests in both tests and test
This commit is contained in:
parent
5d4843d977
commit
2e4d0b178c
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@
|
||||||
description: verifies that test files are named correctly.
|
description: verifies that test files are named correctly.
|
||||||
entry: name-tests-test
|
entry: name-tests-test
|
||||||
language: python
|
language: python
|
||||||
files: (^|/)tests/.+\.py$
|
files: (^|/)test(s)?/.+\.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