Show More
@@ -71,6 +71,7 b' pypats = [' | |||||
71 | (r'^\s*(if|while|def|class|except|try)\s[^[]*:\s*[^\]#\s]+', |
|
71 | (r'^\s*(if|while|def|class|except|try)\s[^[]*:\s*[^\]#\s]+', | |
72 | "linebreak after :"), |
|
72 | "linebreak after :"), | |
73 | (r'class\s[^(]:', "old-style class, use class foo(object)"), |
|
73 | (r'class\s[^(]:', "old-style class, use class foo(object)"), | |
|
74 | (r'^\s+del\(', "del isn't a function"), | |||
74 | (r'^\s+except\(', "except isn't a function"), |
|
75 | (r'^\s+except\(', "except isn't a function"), | |
75 | # (r'class\s[A-Z][^\(]*\((?!Exception)', |
|
76 | # (r'class\s[A-Z][^\(]*\((?!Exception)', | |
76 | # "don't capitalize non-exception classes"), |
|
77 | # "don't capitalize non-exception classes"), |
General Comments 0
You need to be logged in to leave comments.
Login now