Show More
@@ -315,6 +315,7 b' pypats = [' | |||||
315 | # XXX only catch mutable arguments on the first line of the definition |
|
315 | # XXX only catch mutable arguments on the first line of the definition | |
316 | (r'def.*[( ]\w+=\{\}', "don't use mutable default arguments"), |
|
316 | (r'def.*[( ]\w+=\{\}', "don't use mutable default arguments"), | |
317 | (r'\butil\.Abort\b', "directly use error.Abort"), |
|
317 | (r'\butil\.Abort\b', "directly use error.Abort"), | |
|
318 | (r'^import Queue', "don't use Queue, use util.queue + util.empty"), | |||
318 | ], |
|
319 | ], | |
319 | # warnings |
|
320 | # warnings | |
320 | [ |
|
321 | [ |
General Comments 0
You need to be logged in to leave comments.
Login now