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? |
|
Thanks for the contribution, and sorry I;ve been so absent from this repo! I've just gone ahead and migrated to As for the various other changes you made -- uv, ruff, httpx, etc, etc -- please feel free to suggest them as individual improvements; if there's a good reason to adopt any of them, I'd certainly consider it! But please keep those changes separate so they're easier to independently review. Thanks! |
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