We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51c43c4 commit 0b07bd6Copy full SHA for 0b07bd6
pre_commit_hooks/tests_should_end_in_test.py
@@ -14,8 +14,8 @@ def main(argv: Sequence[str] | None = None) -> int:
14
'--pytest',
15
dest='pattern',
16
action='store_const',
17
- const=r'.*_test\.py',
18
- default=r'.*_test\.py',
+ const=r'.tests_*\.py',
+ default=r'.tests_*\.py',
19
help='(the default) ensure tests match %(const)s',
20
)
21
mutex.add_argument(
0 commit comments