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 8a36145 commit 612a4b1Copy full SHA for 612a4b1
pre_commit_hooks/tests_should_end_in_test.py
@@ -18,7 +18,7 @@ def main(argv=None): # type: (Optional[Sequence[str]]) -> int
18
args = parser.parse_args(argv)
19
20
retcode = 0
21
- test_name_pattern = 'test.*.py' if args.django else '.*_test.py'
+ test_name_pattern = r'test.*\.py' if args.django else r'.*_test\.py'
22
for filename in args.filenames:
23
base = os.path.basename(filename)
24
if (
0 commit comments