azure-devops-python-api icon indicating copy to clipboard operation
azure-devops-python-api copied to clipboard

Deprecation warning due to invalid escape sequences in Python 3.8

Open tirkarthi opened this issue 6 years ago • 0 comments

Deprecation warnings are raised due to invalid escape sequences in Python 3.8 . Below is a log of the warnings raised during compiling all the python files. Using raw strings or escaping them will fix this issue.

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

./azure-devops/azure/devops/v6_0/feed/models.py:101: DeprecationWarning: invalid escape sequence \,
  """
./azure-devops/azure/devops/v6_0/feed/models.py:224: DeprecationWarning: invalid escape sequence \,
  """
./azure-devops/azure/devops/v6_0/feed/models.py:1080: DeprecationWarning: invalid escape sequence \,
  """
./azure-devops/azure/devops/v5_1/feed/models.py:101: DeprecationWarning: invalid escape sequence \,
  """
./azure-devops/azure/devops/v5_1/feed/models.py:220: DeprecationWarning: invalid escape sequence \,
  """
./azure-devops/azure/devops/v5_1/feed/models.py:1049: DeprecationWarning: invalid escape sequence \,

tirkarthi avatar Feb 08 '20 05:02 tirkarthi