##// END OF EJS Templates
check-code: check for tuple parameter unpacking (missing in py3k)
Renato Cunha -
r11568:d5d4e6a3 default
parent child Browse files
Show More
@@ -70,6 +70,10 b' testfilters = ['
70 ]
70 ]
71
71
72 pypats = [
72 pypats = [
73 (r'^\s*def\s*\w+\s*\(.*,\s*\(',
74 "tuple parameter unpacking not available in Python 3+"),
75 (r'lambda\s*\(.*,.*\)',
76 "tuple parameter unpacking not available in Python 3+"),
73 (r'^\s*\t', "don't use tabs"),
77 (r'^\s*\t', "don't use tabs"),
74 (r'\S;\s*\n', "semicolon"),
78 (r'\S;\s*\n', "semicolon"),
75 (r'\w,\w', "missing whitespace after ,"),
79 (r'\w,\w', "missing whitespace after ,"),
General Comments 0
You need to be logged in to leave comments. Login now