Show More
@@ -133,8 +133,8 b' pypats = [' | |||
|
133 | 133 | (r'\S;\s*\n', "semicolon"), |
|
134 | 134 | (r'[^_]_\("[^"]+"\s*%', "don't use % inside _()"), |
|
135 | 135 | (r"[^_]_\('[^']+'\s*%", "don't use % inside _()"), |
|
136 | (r'\w,\w', "missing whitespace after ,"), | |
|
137 | (r'\w[+/*\-<>]\w', "missing whitespace in expression"), | |
|
136 | (r'(\w|\)),\w', "missing whitespace after ,"), | |
|
137 | (r'(\w|\))[+/*\-<>]\w', "missing whitespace in expression"), | |
|
138 | 138 | (r'^\s+\w+=\w+[^,)\n]$', "missing whitespace in assignment"), |
|
139 | 139 | (r'(\s+)try:\n((?:\n|\1\s.*\n)+?)\1except.*?:\n' |
|
140 | 140 | r'((?:\n|\1\s.*\n)+?)\1finally:', 'no try/except/finally in Python 2.4'), |
General Comments 0
You need to be logged in to leave comments.
Login now