Mercurial > public > mercurial-scm > hg-stable
diff contrib/check-code.py @ 16249:0d175ac527c1
pvec: introduce pvecs
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 12 Mar 2012 13:37:39 -0500 |
parents | a6941d7033fa |
children | 42e95631887d |
line wrap: on
line diff
--- a/contrib/check-code.py Fri Mar 09 17:11:07 2012 +0100 +++ b/contrib/check-code.py Mon Mar 12 13:37:39 2012 -0500 @@ -169,7 +169,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"),