mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 10:52:31 +08:00
Update most test/lint dependencies (#15582)
This commit is contained in:
@@ -17,7 +17,7 @@ class PyPNGImage(base.BaseImage):
|
||||
def get_image(self, **kwargs: Any) -> _Writer: ...
|
||||
def drawrect(self, row: int, col: int) -> None: ...
|
||||
def save(self, stream: SupportsWrite[bytes], kind: str | None = None) -> None: ...
|
||||
def rows_iter(self) -> Generator[list[int], Any, None]: ...
|
||||
def border_rows_iter(self) -> Generator[list[int], Any, None]: ...
|
||||
def rows_iter(self) -> Generator[list[int], Any]: ...
|
||||
def border_rows_iter(self) -> Generator[list[int], Any]: ...
|
||||
|
||||
PymagingImage = PyPNGImage
|
||||
|
||||
@@ -40,7 +40,7 @@ def mode_sizes_for_version(version: int) -> dict[_MODE, int]: ...
|
||||
def length_in_bits(mode: _MODE, version: int) -> int: ...
|
||||
def check_version(version: int) -> None: ...
|
||||
def lost_point(modules: list[list[bool | None]]) -> int: ...
|
||||
def optimal_data_chunks(data: str | bytes, minimum: int = 4) -> Generator[QRData, None, None]: ...
|
||||
def optimal_data_chunks(data: str | bytes, minimum: int = 4) -> Generator[QRData]: ...
|
||||
def to_bytestring(data: str | bytes) -> bytes: ...
|
||||
def optimal_mode(data: bytes) -> _SupportedMode: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user