D5829: check-code: use raw string

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Mon Feb 4 18:37:09 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7d1798ec92a3: check-code: use raw string (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5829?vs=13756&id=13788

REVISION DETAIL
  https://phab.mercurial-scm.org/D5829

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
@@ -414,7 +414,7 @@
 
 txtpats = [
   [
-    ('\s$', 'trailing whitespace'),
+    (r'\s$', 'trailing whitespace'),
     ('.. note::[ \n][^\n]', 'add two newlines after note::')
   ],
   []



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list