# HG changeset patch # User Sune Foldager # Date 1305217168 -7200 # Node ID e2be0bba0d8353bce7533ea2dc03cd1f3827a0db # Parent b0f97b2589cc1f2c07c415c480c6ed02e347704a check-code: add /= to operator list diff -r b0f97b2589cc -r e2be0bba0d83 contrib/check-code.py --- a/contrib/check-code.py Thu May 12 16:21:01 2011 +0200 +++ b/contrib/check-code.py Thu May 12 18:19:28 2011 +0200 @@ -157,7 +157,7 @@ "missing whitespace around operator"), (r'\s(\+=|-=|!=|<>|<=|>=|<<=|>>=)\S', "missing whitespace around operator"), - (r'[^+=*!<>&| -](\s=|=\s)[^= ]', + (r'[^+=*/!<>&| -](\s=|=\s)[^= ]', "wrong whitespace around ="), (r'raise Exception', "don't raise generic exceptions"), (r' is\s+(not\s+)?["\'0-9-]', "object comparison with literal"),