Show More
@@ -110,6 +110,7 pypats = [ | |||
|
110 | 110 | (r'.{85}', "line too long"), |
|
111 | 111 | (r'.{81}', "warning: line over 80 characters"), |
|
112 | 112 | (r'[^\n]\Z', "no trailing newline"), |
|
113 | (r'(\S\s+|^\s+)\n', "trailing whitespace"), | |
|
113 | 114 | # (r'^\s+[^_ ][^_. ]+_[^_]+\s*=', "don't use underbars in identifiers"), |
|
114 | 115 | # (r'\w*[a-z][A-Z]\w*\s*=', "don't use camelcase in identifiers"), |
|
115 | 116 | (r'^\s*(if|while|def|class|except|try)\s[^[]*:\s*[^\]#\s]+', |
General Comments 0
You need to be logged in to leave comments.
Login now