changeset 43063:9bfd083bc6ee

contrib: stop whining about whitespace around = This was conflicting with black, so dump it. Differential Revision: https://phab.mercurial-scm.org/D6979
author Augie Fackler <augie@google.com>
date Sat, 05 Oct 2019 10:49:24 -0400
parents 28002d25eb54
children 929678eb4cbd
files contrib/check-code.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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