invalid-escape-sequence (W605)#
Derived from the pycodestyle linter.
Fix is always available.
What it does#
Checks for invalid escape sequences.
Why is this bad?#
Invalid escape sequences are deprecated in Python 3.6.
Example#
Use instead:
Or, if the string already contains a valid escape sequence:
Use instead: