name-tests-test: Search tests in both tests and test

This commit is contained in:
Markus Hofbauer 2022-09-14 11:40:21 +02:00 committed by GitHub
parent 5d4843d977
commit 2e4d0b178c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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