##// END OF EJS Templates
check-code: drop the check for whitespace around named parameters...
Matt Harbison -
r50465:3a2b6158 default
parent child Browse files
Show More
@@ -372,10 +372,6 b' commonpypats = ['
372 ),
372 ),
373 (r'[^^+=*/!<>&| %-](\s=|=\s)[^= ]', "wrong whitespace around ="),
373 (r'[^^+=*/!<>&| %-](\s=|=\s)[^= ]', "wrong whitespace around ="),
374 (
374 (
375 r'\([^()]*( =[^=]|[^<>!=]= )',
376 "no whitespace around = for named parameters",
377 ),
378 (
379 r'raise [^,(]+, (\([^\)]+\)|[^,\(\)]+)$',
375 r'raise [^,(]+, (\([^\)]+\)|[^,\(\)]+)$',
380 "don't use old-style two-argument raise, use Exception(message)",
376 "don't use old-style two-argument raise, use Exception(message)",
381 ),
377 ),
General Comments 0
You need to be logged in to leave comments. Login now