Mark entrypoints as complete (#8901)

This commit is contained in:
Nikita Sobolev
2022-10-15 17:16:41 +03:00
committed by GitHub
parent 51e18a8601
commit 38d0f691e6
3 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
# staticmethod weirdness:
entrypoints.CaseSensitiveConfigParser.optionxform

View File

@@ -1 +1,4 @@
version = "0.4.*"
[tool.stubtest]
ignore_missing_stub = false

View File

@@ -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 = ...