Show More
@@ -273,7 +273,7 b' pypats = [' | |||||
273 | # (r'^\s+[^_ \n][^_. \n]+_[^_\n]+\s*=', |
|
273 | # (r'^\s+[^_ \n][^_. \n]+_[^_\n]+\s*=', | |
274 | # "don't use underbars in identifiers"), |
|
274 | # "don't use underbars in identifiers"), | |
275 | (r'^\s+(self\.)?[A-Za-z][a-z0-9]+[A-Z]\w* = ', |
|
275 | (r'^\s+(self\.)?[A-Za-z][a-z0-9]+[A-Z]\w* = ', | |
276 | "don't use camelcase in identifiers"), |
|
276 | "don't use camelcase in identifiers", r'#.*camelcase-required'), | |
277 | (r'^\s*(if|while|def|class|except|try)\s[^[\n]*:\s*[^\\n]#\s]+', |
|
277 | (r'^\s*(if|while|def|class|except|try)\s[^[\n]*:\s*[^\\n]#\s]+', | |
278 | "linebreak after :"), |
|
278 | "linebreak after :"), | |
279 | (r'class\s[^( \n]+:', "old-style class, use class foo(object)", |
|
279 | (r'class\s[^( \n]+:', "old-style class, use class foo(object)", |
General Comments 0
You need to be logged in to leave comments.
Login now