Skip to content

Replace docopt #403

@thatbudakguy

Description

@thatbudakguy

We're getting weird warnings:

/Users/nick/.local/share/uv/tools/dphon/lib/python3.14/site-packages/docopt.py:165: SyntaxWarning: "\S" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\S"? A raw string is also an option.
  name = re.findall('(<\S*?>)', source)[0]
/Users/nick/.local/share/uv/tools/dphon/lib/python3.14/site-packages/docopt.py:166: SyntaxWarning: "\[" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\["? A raw string is also an option.
  value = re.findall('\[default: (.*)\]', source, flags=re.I)
/Users/nick/.local/share/uv/tools/dphon/lib/python3.14/site-packages/docopt.py:207: SyntaxWarning: "\[" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\["? A raw string is also an option.
  matched = re.findall('\[default: (.*)\]', description, flags=re.I)
/Users/nick/.local/share/uv/tools/dphon/lib/python3.14/site-packages/docopt.py:456: SyntaxWarning: "\S" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\S"? A raw string is also an option.
  split = re.split('\n *(<\S+?>|-\S+?)', doc)[1:]

Maybe just use typer since it's a transitive dependency anyway?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions