contrib: stop whining about whitespace around =
authorAugie Fackler <augie@google.com>
Sat, 05 Oct 2019 10:49:24 -0400
changeset 43063 9bfd083bc6ee
parent 43062 28002d25eb54
child 43064 929678eb4cbd
contrib: stop whining about whitespace around = This was conflicting with black, so dump it. Differential Revision: https://phab.mercurial-scm.org/D6979
contrib/check-code.py
--- a/contrib/check-code.py	Sat Oct 05 10:48:10 2019 -0400
+++ b/contrib/check-code.py	Sat Oct 05 10:49:24 2019 -0400
@@ -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