mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-11 09:08:27 +08:00
Bump flake8-pyi to 23.11.0 (#10997)
This commit is contained in:
@@ -3,7 +3,7 @@ import types
|
||||
import zipimport
|
||||
from _typeshed import Incomplete
|
||||
from abc import ABCMeta
|
||||
from collections.abc import Callable, Generator, Iterable, Sequence
|
||||
from collections.abc import Callable, Generator, Iterable, Iterator, Sequence
|
||||
from io import BytesIO
|
||||
from re import Pattern
|
||||
from typing import IO, Any, ClassVar, Protocol, TypeVar, overload, type_check_only
|
||||
@@ -32,7 +32,7 @@ class WorkingSet:
|
||||
def iter_entry_points(self, group: str, name: str | None = None) -> Generator[EntryPoint, None, None]: ...
|
||||
def add_entry(self, entry: str) -> None: ...
|
||||
def __contains__(self, dist: Distribution) -> bool: ...
|
||||
def __iter__(self) -> Generator[Distribution, None, None]: ...
|
||||
def __iter__(self) -> Iterator[Distribution]: ...
|
||||
def find(self, req: Requirement) -> Distribution | None: ...
|
||||
def resolve(
|
||||
self,
|
||||
@@ -61,7 +61,7 @@ class Environment:
|
||||
self, search_path: Sequence[str] | None = None, platform: str | None = ..., python: str | None = ...
|
||||
) -> None: ...
|
||||
def __getitem__(self, project_name: str) -> list[Distribution]: ...
|
||||
def __iter__(self) -> Generator[str, None, None]: ...
|
||||
def __iter__(self) -> Iterator[str]: ...
|
||||
def add(self, dist: Distribution) -> None: ...
|
||||
def remove(self, dist: Distribution) -> None: ...
|
||||
def can_add(self, dist: Distribution) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user