##// END OF EJS Templates
check-code: add /= to operator list
Sune Foldager -
r14303:e2be0bba default
parent child Browse files
Show More
@@ -157,7 +157,7 b' pypats = ['
157 "missing whitespace around operator"),
157 "missing whitespace around operator"),
158 (r'\s(\+=|-=|!=|<>|<=|>=|<<=|>>=)\S',
158 (r'\s(\+=|-=|!=|<>|<=|>=|<<=|>>=)\S',
159 "missing whitespace around operator"),
159 "missing whitespace around operator"),
160 (r'[^+=*!<>&| -](\s=|=\s)[^= ]',
160 (r'[^+=*/!<>&| -](\s=|=\s)[^= ]',
161 "wrong whitespace around ="),
161 "wrong whitespace around ="),
162 (r'raise Exception', "don't raise generic exceptions"),
162 (r'raise Exception', "don't raise generic exceptions"),
163 (r' is\s+(not\s+)?["\'0-9-]', "object comparison with literal"),
163 (r' is\s+(not\s+)?["\'0-9-]', "object comparison with literal"),
General Comments 0
You need to be logged in to leave comments. Login now