Show More
@@ -133,8 +133,8 b' pypats = [' | |||||
133 | (r'\S;\s*\n', "semicolon"), |
|
133 | (r'\S;\s*\n', "semicolon"), | |
134 | (r'[^_]_\("[^"]+"\s*%', "don't use % inside _()"), |
|
134 | (r'[^_]_\("[^"]+"\s*%', "don't use % inside _()"), | |
135 | (r"[^_]_\('[^']+'\s*%", "don't use % inside _()"), |
|
135 | (r"[^_]_\('[^']+'\s*%", "don't use % inside _()"), | |
136 | (r'\w,\w', "missing whitespace after ,"), |
|
136 | (r'(\w|\)),\w', "missing whitespace after ,"), | |
137 | (r'\w[+/*\-<>]\w', "missing whitespace in expression"), |
|
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 | (r'(\s+)try:\n((?:\n|\1\s.*\n)+?)\1except.*?:\n' |
|
139 | (r'(\s+)try:\n((?:\n|\1\s.*\n)+?)\1except.*?:\n' | |
140 | r'((?:\n|\1\s.*\n)+?)\1finally:', 'no try/except/finally in Python 2.4'), |
|
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