Show More
@@ -340,11 +340,6 b' commonpypats = [' | |||||
340 | (r'[^\n]\Z', "no trailing newline"), |
|
340 | (r'[^\n]\Z', "no trailing newline"), | |
341 | (r'(\S[ \t]+|^[ \t]+)\n', "trailing whitespace"), |
|
341 | (r'(\S[ \t]+|^[ \t]+)\n', "trailing whitespace"), | |
342 | ( |
|
342 | ( | |
343 | r'^\s+(self\.)?[A-Za-z][a-z0-9]+[A-Z]\w* = ', |
|
|||
344 | "don't use camelcase in identifiers", |
|
|||
345 | r'#.*camelcase-required', |
|
|||
346 | ), |
|
|||
347 | ( |
|
|||
348 | r'^\s*(if|while|def|class|except|try)\s[^[\n]*:\s*[^\\n]#\s]+', |
|
343 | r'^\s*(if|while|def|class|except|try)\s[^[\n]*:\s*[^\\n]#\s]+', | |
349 | "linebreak after :", |
|
344 | "linebreak after :", | |
350 | ), |
|
345 | ), |
General Comments 0
You need to be logged in to leave comments.
Login now