Skip to content

Deprecation warning due to invalid escape sequences. #15

@tirkarthi

Description

@tirkarthi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions