Show More
@@ -150,6 +150,7 b' pypats = [' | |||||
150 | (r'[^+=*!<>&| -](\s=|=\s)[^= ]', |
|
150 | (r'[^+=*!<>&| -](\s=|=\s)[^= ]', | |
151 | "wrong whitespace around ="), |
|
151 | "wrong whitespace around ="), | |
152 | (r'raise Exception', "don't raise generic exceptions"), |
|
152 | (r'raise Exception', "don't raise generic exceptions"), | |
|
153 | (r'^\s*except:$', "warning: naked except clause"), | |||
153 | (r'ui\.(status|progress|write|note|warn)\([\'\"]x', |
|
154 | (r'ui\.(status|progress|write|note|warn)\([\'\"]x', | |
154 | "warning: unwrapped ui message"), |
|
155 | "warning: unwrapped ui message"), | |
155 | (r' is\s+(not\s+)?["\'0-9-]', "object comparison with literal"), |
|
156 | (r' is\s+(not\s+)?["\'0-9-]', "object comparison with literal"), |
General Comments 0
You need to be logged in to leave comments.
Login now