Bump mypy to 0.981 (#8796)

This commit is contained in:
Alex Waygood
2022-09-27 01:14:33 +01:00
committed by GitHub
parent 9abe56a19a
commit 48e76e8a56
29 changed files with 23 additions and 185 deletions

View File

@@ -41,6 +41,9 @@ class _EntryPointBase(NamedTuple):
class EntryPoint(_EntryPointBase):
pattern: ClassVar[Pattern[str]]
if sys.version_info >= (3, 11):
def __init__(self, name: str, value: str, group: str) -> None: ...
def load(self) -> Any: ... # Callable[[], Any] or an importable module
@property
def extras(self) -> list[str]: ...