Show More
@@ -135,7 +135,7 b' pypats = [' | |||
|
135 | 135 | (r"[^_]_\('[^']+'\s*%", "don't use % inside _()"), |
|
136 | 136 | (r'(\w|\)),\w', "missing whitespace after ,"), |
|
137 | 137 | (r'(\w|\))[+/*\-<>]\w', "missing whitespace in expression"), |
|
138 |
(r'^\s+\w |
|
|
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'), |
|
141 | 141 | (r'(\s+)try:\n((?:\n|\1\s.*\n)*?)\1\s*yield\b.*?' |
General Comments 0
You need to be logged in to leave comments.
Login now