Show More
@@ -325,6 +325,11 b' pypats = [' | |||||
325 | (r'^import Queue', "don't use Queue, use util.queue + util.empty"), |
|
325 | (r'^import Queue', "don't use Queue, use util.queue + util.empty"), | |
326 | (r'^import cStringIO', "don't use cStringIO.StringIO, use util.stringio"), |
|
326 | (r'^import cStringIO', "don't use cStringIO.StringIO, use util.stringio"), | |
327 | (r'^import urllib', "don't use urllib, use util.urlreq/util.urlerr"), |
|
327 | (r'^import urllib', "don't use urllib, use util.urlreq/util.urlerr"), | |
|
328 | (r'^import SocketServer', "don't use SockerServer, use util.socketserver"), | |||
|
329 | (r'^import urlparse', "don't use urlparse, use util.urlparse"), | |||
|
330 | (r'^import xmlrpclib', "don't use xmlrpclib, use util.xmlrpclib"), | |||
|
331 | (r'^import cPickle', "don't use cPickle, use util.pickle"), | |||
|
332 | (r'^import pickle', "don't use pickle, use util.pickle"), | |||
328 | (r'\.next\(\)', "don't use .next(), use next(...)"), |
|
333 | (r'\.next\(\)', "don't use .next(), use next(...)"), | |
329 |
|
334 | |||
330 | # rules depending on implementation of repquote() |
|
335 | # rules depending on implementation of repquote() |
General Comments 0
You need to be logged in to leave comments.
Login now