mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 05:22:23 +08:00
Remove docopt (#12975)
This commit is contained in:
@@ -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. \
|
||||
"""
|
||||
@@ -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]
|
||||
Reference in New Issue
Block a user