Skip to content

Commit

Permalink
Increase maximum length of function names from 30 to 60. (flutter#45296)
Browse files Browse the repository at this point in the history
Unblocks flutter#45243, which adds the function:

```py
def `gather_build_bucket_golden_scraper_tests`():
```
  • Loading branch information
matanlurey authored Aug 30, 2023
1 parent aeab1b0 commit 6263387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
class-rgx=[A-Z_][a-zA-Z0-9]+$

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

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

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

0 comments on commit 6263387

Please sign in to comment.