Commit faa99357 authored by qyearsley's avatar qyearsley Committed by Commit bot

Allow long test names in pylintrc.

Many test methods in unit tests have names much longer than 30
characters. I think this is fine for test method names, since they're
meant to be descriptive, but not necessarily short and memorable.

Review-Url: https://codereview.chromium.org/2192213002
Cr-Commit-Position: refs/heads/master@{#408786}
parent 94274706
......@@ -190,7 +190,7 @@ class-rgx=[A-Z_][a-zA-Z0-9]+$
function-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct method names
method-rgx=[a-z_][a-z0-9_]{2,30}$
method-rgx=method-rgx=(([a-z_][a-z0-9_]{2,30})|(test_[a-z0-9_]{2,60}))$
# Regular expression which should only match correct instance attribute names
attr-rgx=[a-z_][a-z0-9_]{1,30}$
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment