Remove docopt (#12975)

This commit is contained in:
Sebastian Rittau
2024-11-07 19:51:15 +01:00
committed by GitHub
parent dafd67c2cc
commit 0d4a94803a
2 changed files with 0 additions and 28 deletions

View File

@@ -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 <https://github.com/docopt/docopt/issues/502#issuecomment-1289347288>), \
which is typed as of `0.8.1` and more recently maintained. \
"""

View File

@@ -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]