Show More
@@ -75,6 +75,7 b' pypats = [' | |||||
75 | (r'lambda\s*\(.*,.*\)', |
|
75 | (r'lambda\s*\(.*,.*\)', | |
76 | "tuple parameter unpacking not available in Python 3+"), |
|
76 | "tuple parameter unpacking not available in Python 3+"), | |
77 | (r'\breduce\s*\(.*', "reduce is not available in Python 3+"), |
|
77 | (r'\breduce\s*\(.*', "reduce is not available in Python 3+"), | |
|
78 | (r'\.has_key\b', "dict.has_key is not available in Python 3+"), | |||
78 | (r'^\s*\t', "don't use tabs"), |
|
79 | (r'^\s*\t', "don't use tabs"), | |
79 | (r'\S;\s*\n', "semicolon"), |
|
80 | (r'\S;\s*\n', "semicolon"), | |
80 | (r'\w,\w', "missing whitespace after ,"), |
|
81 | (r'\w,\w', "missing whitespace after ,"), |
General Comments 0
You need to be logged in to leave comments.
Login now