diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 1a6056b..88cdd55 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -167,7 +167,7 @@ description: verifies that test files are named correctly. entry: name-tests-test language: python - files: (^|/)tests/.+\.py$ + files: (^|/)test(s)?/.+\.py$ - id: no-commit-to-branch name: "don't commit to branch" entry: no-commit-to-branch