mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Mark entrypoints as complete (#8901)
This commit is contained in:
2
stubs/entrypoints/@tests/stubtest_allowlist.txt
Normal file
2
stubs/entrypoints/@tests/stubtest_allowlist.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
# staticmethod weirdness:
|
||||
entrypoints.CaseSensitiveConfigParser.optionxform
|
||||
@@ -1 +1,4 @@
|
||||
version = "0.4.*"
|
||||
|
||||
[tool.stubtest]
|
||||
ignore_missing_stub = false
|
||||
|
||||
@@ -23,6 +23,8 @@ class NoSuchEntryPoint(Exception):
|
||||
name: str
|
||||
def __init__(self, group: str, name: str) -> None: ...
|
||||
|
||||
class CaseSensitiveConfigParser(ConfigParser): ...
|
||||
|
||||
class EntryPoint:
|
||||
name: str
|
||||
module_name: str
|
||||
@@ -40,6 +42,8 @@ class Distribution:
|
||||
name: str
|
||||
version: str
|
||||
def __init__(self, name: str, version: str) -> None: ...
|
||||
@classmethod
|
||||
def from_name_version(cls: type[Self], name: str) -> Self: ...
|
||||
|
||||
def iter_files_distros(
|
||||
path: Sequence[str] | None = ..., repeated_distro: str = ...
|
||||
|
||||
Reference in New Issue
Block a user