Skip to content

Deprecation warning due to invalid escape sequences. #875

Closed

Description

@tirkarthi

Describe the bug

Deprecation warning due to invalid escape sequences.

To Reproduce

find . -iname '*.py'  | xargs -P 4 -I{} python3.8 -Wall -m py_compile {}

./pvlib/iotools/ecmwf_macc.py:58: DeprecationWarning: invalid escape sequence \.
  """
./versioneer.py:485: DeprecationWarning: invalid escape sequence \s
  LONG_VERSION_PY['git'] = '''

Activity

  1. mikofski commented on Feb 1, 2020

    @mikofski
    Member

    Thanks! It's in the docstring, there's a backwards path separator, you can see in the documentation, it doesn't render correctly, easy fix

  2. added a commit that references this issue on Feb 1, 2020
    fff1797
  3. mikofski commented on Feb 1, 2020

    @mikofski
    Member

    @tirkarthi seems okay now, can you please check again? Thx!
    Screenshot_20200201-083508_Chrome

  4. tirkarthi commented on Feb 1, 2020

    @tirkarthi
    Author

    versioneer file also needs usage of raw strings prefix.

  5. mikofski commented on Feb 2, 2020

    @mikofski
    Member

    Versioneer is automatically generated, I think this issue has already been reported over there, Warner/python-versioneer: flake8 complaint #201

  6. added this to the 0.7.2 milestone on Feb 11, 2020
  7. added 2 commits that reference this issue on Feb 11, 2020
    a18ee10
    b4486c1
  8. added 2 commits that reference this issue on Mar 18, 2020
    578a70f
    6c2372f
  9. added a commit that references this issue on Mar 28, 2020
    a28d819
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions