check-code: use raw string
This avoids a SyntaxWarning in Python 3.8.
Differential Revision: https://phab.mercurial-scm.org/D5829
--- a/contrib/check-code.py Mon Feb 04 09:37:09 2019 -0800
+++ b/contrib/check-code.py Mon Feb 04 09:38:33 2019 -0800
@@ -414,7 +414,7 @@
txtpats = [
[
- ('\s$', 'trailing whitespace'),
+ (r'\s$', 'trailing whitespace'),
('.. note::[ \n][^\n]', 'add two newlines after note::')
],
[]