##// END OF EJS Templates
check-code: added check for reduce usage
Renato Cunha -
r11569:f8576644 default
parent child Browse files
Show More
@@ -74,6 +74,7 b' pypats = ['
74 "tuple parameter unpacking not available in Python 3+"),
74 "tuple parameter unpacking not available in Python 3+"),
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'^\s*\t', "don't use tabs"),
78 (r'^\s*\t', "don't use tabs"),
78 (r'\S;\s*\n', "semicolon"),
79 (r'\S;\s*\n', "semicolon"),
79 (r'\w,\w', "missing whitespace after ,"),
80 (r'\w,\w', "missing whitespace after ,"),
General Comments 0
You need to be logged in to leave comments. Login now