fix: poetry run pytest raises SyntaxError: invalid escape sequence \S#454
fix: poetry run pytest raises SyntaxError: invalid escape sequence \S#454waketzheng wants to merge 12 commits intoTheKevJames:masterfrom
poetry run pytest raises SyntaxError: invalid escape sequence \S#454Conversation
poetry run pytest raises SyntaxError: invalid escape sequence \S
|
@TheKevJames thanks for this useful and easy to use package~ Can this PR be accepted? |
|
+1 The test failures are only because CI isn't configured to allow third-party PRs to push results to Coveralls. docopt is not maintained and has deprecated code that will eventually cause SyntaxError in all cases (it currently causes SyntaxWarnings, that are upgraded to errors if run with PYTHONWARNINGS=error or similar). https://docs.python.org/3/whatsnew/3.12.html
|
|
@TheKevJames Cloud you take a look at this PR? |
Fixes #465
Checklist
Motivation and Context
As the docopt project has been not maintained for many years, shall we to use another one to replace it:
docopt/docopt#507 (comment)
https://github.com/jazzband/docopt-ng