PyCQA / modernize

Modernizes Python code for eventual Python 3 migration. Built on top of fissix (a fork of lib2to3)
https://modernize.readthedocs.org/
Other
353 stars 51 forks source link

Deprecation warning due to invalid escape sequences. #201

Closed tirkarthi closed 3 years ago

tirkarthi commented 4 years ago

Deprecation warning due to invalid escape sequences. Using raw strings or escaping them again helps in resolving this. Check https://github.com/asottile/pyupgrade/ for automatic fix of this.

find . -iname '*.py' | grep -Ev 'rdf4|doc|benchmark|tool' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./libmodernize/main.py:1: DeprecationWarning: invalid escape sequence \/
  """\
tirkarthi commented 3 years ago

I can't reproduce this and seems to have been fixed. Closing.