chore: remove redundant word

Signed-off-by: tianzedavid <cuitianze@aliyun.com>
This commit is contained in:
tianzedavid 2025-02-13 22:09:55 +08:00
parent 251ea7367c
commit 4c62b37fcd

View file

@ -91,7 +91,7 @@ def check_all_filenames(files) -> int:
for filename in filenames: for filename in filenames:
if not filename_regex.match(filename): if not filename_regex.match(filename):
print( print(
f"""File {repr(filename)} does not not match the allowed filename regexp ('{ALLOWED_FILENAME_REGEXP}').""" f"""File {repr(filename)} does not match the allowed filename regexp ('{ALLOWED_FILENAME_REGEXP}')."""
) )
failed_tests += 1 failed_tests += 1
return failed_tests return failed_tests