Show More
@@ -316,6 +316,8 b' pypats = [' | |||
|
316 | 316 | (r'def.*[( ]\w+=\{\}', "don't use mutable default arguments"), |
|
317 | 317 | (r'\butil\.Abort\b', "directly use error.Abort"), |
|
318 | 318 | (r'^import Queue', "don't use Queue, use util.queue + util.empty"), |
|
319 | (r'^import cStringIO', "don't use cStringIO.StringIO, use util.stringio"), | |
|
320 | (r'^import urllib', "don't use urllib, use util.urlreq/util.urlerr"), | |
|
319 | 321 | ], |
|
320 | 322 | # warnings |
|
321 | 323 | [ |
General Comments 0
You need to be logged in to leave comments.
Login now