##// END OF EJS Templates
check-code: make 'missing whitespace in assignment' more aggressive...
Mads Kiilerich -
r18055:e440a2c0 default
parent child Browse files
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+=\w+[^,)\n]$', "missing whitespace in assignment"),
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