File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 424424 {
425425 "name" : " inlinevar-rgx" ,
426426 "description" : " Regular expression to match Variable type, used as part of list comprehensions and generators"
427+ },
428+ {
429+ "name" : " class-attribute-rgx" ,
430+ "description" : " Regular expression matching correct class attribute names"
427431 }
428432 ]
429433 },
Original file line number Diff line number Diff line change 363363 {
364364 "name" : " inlinevar-rgx" ,
365365 "default" : " [A-Za-z_][A-Za-z0-9_]*$"
366+ },
367+ {
368+ "name" : " class-attribute-rgx" ,
369+ "default" : " ([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$"
366370 }
367371 ]
368372 },
Original file line number Diff line number Diff line change @@ -14,4 +14,8 @@ def good_method(bla):
1414
1515class GnaEme (object ):
1616 def good_method (bla ):
17- print "cool!"
17+ print "cool!"
18+
19+ class Complex :
20+ ##Info: C0103
21+ THIS_IS_REALLY_LONG_I_MEAN_ITS_MORE_THAN_THIRTY_CHARS = 53
You can’t perform that action at this time.
0 commit comments