Show More
@@ -281,6 +281,8 b' pypats = [' | |||
|
281 | 281 | (r'\.debug\(\_', "don't mark debug messages for translation"), |
|
282 | 282 | (r'\.strip\(\)\.split\(\)', "no need to strip before splitting"), |
|
283 | 283 | (r'^\s*except\s*:', "naked except clause", r'#.*re-raises'), |
|
284 | (r'^\s*except\s([^\(,]+|\([^\)]+\))\s*,', | |
|
285 | 'legacy exception syntax; use "as" instead of ","'), | |
|
284 | 286 | (r':\n( )*( ){1,3}[^ ]', "must indent 4 spaces"), |
|
285 | 287 | (r'ui\.(status|progress|write|note|warn)\([\'\"]x', |
|
286 | 288 | "missing _() in ui message (use () to hide false-positives)"), |
General Comments 0
You need to be logged in to leave comments.
Login now