diff --git a/stubs/docopt/METADATA.toml b/stubs/docopt/METADATA.toml deleted file mode 100644 index 28996a5b7..000000000 --- a/stubs/docopt/METADATA.toml +++ /dev/null @@ -1,9 +0,0 @@ -version = "0.6.*" -upstream_repository = "https://github.com/docopt/docopt" -no_longer_updated = true -extra_description = """\ -`docopt`'s last release was in 2014 and the repository hasn't been updated since 2018. \ -Even `docopt` organization members encourage switching to [`docopt-ng`](https://pypi.org/project/docopt-ng/) \ -(see ), \ -which is typed as of `0.8.1` and more recently maintained. \ -""" diff --git a/stubs/docopt/docopt.pyi b/stubs/docopt/docopt.pyi deleted file mode 100644 index b31fd6355..000000000 --- a/stubs/docopt/docopt.pyi +++ /dev/null @@ -1,19 +0,0 @@ -from _typeshed import Incomplete -from collections.abc import Iterable -from typing import Any, ClassVar -from typing_extensions import TypeAlias - -__version__: str - -_Argv: TypeAlias = Iterable[str] | str - -class DocoptLanguageError(Exception): ... - -class DocoptExit(SystemExit): - usage: ClassVar[str] - def __init__(self, message: str = "") -> None: ... - -def printable_usage(doc: str) -> str: ... -def docopt( - doc: str, argv: _Argv | None = ..., help: bool = ..., version: Incomplete | None = ..., options_first: bool = ... -) -> dict[str, Any]: ... # Really should be dict[str, str | bool]