Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning due to invalid escape sequences. #15

Open
tirkarthi opened this issue May 1, 2020 · 1 comment · May be fixed by #19
Open

Deprecation warning due to invalid escape sequences. #15

tirkarthi opened this issue May 1, 2020 · 1 comment · May be fixed by #19

Comments

@tirkarthi
Copy link

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|tool' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./callee/collections.py:98: DeprecationWarning: invalid escape sequence \ 
  """Matches an iterable that's a generator.
./callee/types.py:19: DeprecationWarning: invalid escape sequence \ 
  """:param type\ _: Type to match against"""
./callee/types.py:35: DeprecationWarning: invalid escape sequence \ 
  """
./callee/types.py:61: DeprecationWarning: invalid escape sequence \ 
  """
./callee/operators.py:188: DeprecationWarning: invalid escape sequence \ 
  """Matches values that are shorter than,
./callee/operators.py:206: DeprecationWarning: invalid escape sequence \ 
  """Matches values that are longer than,
./callee/numbers.py:46: DeprecationWarning: invalid escape sequence \ 
  """Matches any complex number.
./callee/numbers.py:60: DeprecationWarning: invalid escape sequence \ 
  """Matches any real number.
./callee/numbers.py:75: DeprecationWarning: invalid escape sequence \ 
  """Matches a rational number.
./callee/base.py:150: DeprecationWarning: invalid escape sequence \ 
  """Provides a default ``repr``\ esentation for custom matchers.
@2m
Copy link

2m commented Jul 22, 2020

Yup. Noticed this as well. Its quite chatty when running tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants