| commit | e11d94cfba70b217045d02adfbcefdab9cf62d55 | [log] [tgz] |
|---|---|---|
| author | Anthony Sottile <asottile@umich.edu> | Fri Jul 21 22:48:29 2017 -0700 |
| committer | GitHub <noreply@github.com> | Fri Jul 21 22:48:29 2017 -0700 |
| tree | 465af5f3ba8944aa771206967397eaa544a40e63 | |
| parent | a6b1e98e1212da04a796ef4981f59f051eeed53e [diff] | |
| parent | 3effa55911d61225feca8b56f350711d2e6f2f60 [diff] |
Merge pull request #221 from pre-commit/asottile-patch-1 More strict regex for name-tests-test
diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 1aba741..4301317 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml
@@ -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