mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-13 07:41:19 +08:00
Merge pull request #221 from pre-commit/asottile-patch-1
More strict regex for name-tests-test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user