celery-once icon indicating copy to clipboard operation
celery-once copied to clipboard

Deprecation warning due to invalid escape sequences

Open tirkarthi opened this issue 4 years ago • 0 comments

Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/asottile/pyupgrade/

find . -iname '*.py' | grep -v example | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./celery_once/tasks.py:78: DeprecationWarning: invalid escape sequence \*
  """

tirkarthi avatar Jun 10 '20 14:06 tirkarthi