I get these while running my project's testsuite with all warnings turned on and Python 3.6:
.../jinja2/nodes.py:716: DeprecationWarning: invalid escape sequence \s
"""
.../jinja2/runtime.py:111: DeprecationWarning: invalid escape sequence \s
"""
.../jinja2/lexer.py:294: DeprecationWarning: invalid escape sequence \s
"""
.../jinja2/lexer.py:503: DeprecationWarning: invalid escape sequence \-
(c('(?:\-%s\s*|%s)%s' % (
.../jinja2/lexer.py:511: DeprecationWarning: invalid escape sequence \-
(c('\-%s\s*|%s' % (
.../jinja2/lexer.py:518: DeprecationWarning: invalid escape sequence \s
(c('(.*?)((?:\s*%s\-|%s)\s*endraw\s*(?:\-%s\s*|%s%s))' % (
It looks like it's mostly \s in (non-raw) docstrings and \- in regexes. For some odd reason I can't reproduce this when running pylint's testsuite with pytest-warnings though, so I don't know if there's more.
I get these while running my project's testsuite with all warnings turned on and Python 3.6:
It looks like it's mostly
\sin (non-raw) docstrings and\-in regexes. For some odd reason I can't reproduce this when running pylint's testsuite withpytest-warningsthough, so I don't know if there's more.