Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 6263387

Browse files
authored
Increase maximum length of function names from 30 to 60. (#45296)
Unblocks #45243, which adds the function: ```py def `gather_build_bucket_golden_scraper_tests`(): ```
1 parent aeab1b0 commit 6263387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pylintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
158158
class-rgx=[A-Z_][a-zA-Z0-9]+$
159159

160160
# Regular expression which should only match correct function names
161-
function-rgx=[a-z_][a-z0-9_]{2,30}$
161+
function-rgx=[a-z_][a-z0-9_]{2,60}$
162162

163163
# Regular expression which should only match correct method names
164-
method-rgx=[a-z_][a-z0-9_]{2,30}$
164+
method-rgx=[a-z_][a-z0-9_]{2,60}$
165165

166166
# Regular expression which should only match correct instance attribute names
167167
attr-rgx=[a-z_][a-z0-9_]{2,30}$

0 commit comments

Comments
 (0)