Skip to content

Commit 67afa1c

Browse files
committed
update file name regex
1 parent fd19bcf commit 67afa1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# When --table is set, this threshold determines the number of identical profiles needed to get flagged.
3333
TABLE_THRESHOLD: Final[int] = 4
3434

35-
FILE_NAME_REGEX: Final[str] = "[a-zA-Z0-9][a-zA-Z0-9_.-]*[a-zA-Z0-9]"
35+
FILE_NAME_REGEX: Final[str] = "[a-zA-Z0-9][a-zA-Z0-9_.-]{0,253}[a-zA-Z0-9]"
3636
COMPILED_FILE_NAME_REGEX: Final[re.Pattern[str]] = re.compile(FILE_NAME_REGEX)
3737

3838
CONSTANT_NAME_REGEX = "[a-zA-Z_][a-zA-Z0-9_]*"

0 commit comments

Comments
 (0)