Submitter | phabricator |
---|---|
Date | Oct. 5, 2019, 3:01 p.m. |
Message ID | <differential-rev-PHID-DREV-rmz5uvwcorpni2qtfoai-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/41980/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -252,7 +252,6 @@ (r"[^_]_\([ \t\n]*(?:'[^']+'[ \t\n+]*)+%", "don't use % inside _()"), (r'(\w|\)),\w', "missing whitespace after ,"), (r'(\w|\))[+/*\-<>]\w', "missing whitespace in expression"), - (r'^\s+(\w|\.)+=\w[^,()\n]*$', "missing whitespace in assignment"), (r'\w\s=\s\s+\w', "gratuitous whitespace after ="), (( # a line ending with a colon, potentially with trailing comments