D6979: contrib: stop whining about whitespace around =
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Sun Oct 6 13:55:23 UTC 2019
Closed by commit rHG9bfd083bc6ee: contrib: stop whining about whitespace around = (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6979?vs=16828&id=16874
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6979/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6979
AFFECTED FILES
contrib/check-code.py
CHANGE DETAILS
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
To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list