mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
Fix: PYI041 Use float instead of int | float
This commit is contained in:
parent
6ed952b510
commit
20d8095439
|
@ -15,7 +15,7 @@ class TestLibPack:
|
||||||
mode: str,
|
mode: str,
|
||||||
rawmode: str,
|
rawmode: str,
|
||||||
data: int | bytes,
|
data: int | bytes,
|
||||||
*pixels: int | float | tuple[int, ...],
|
*pixels: float | tuple[int, ...],
|
||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
data - either raw bytes with data or just number of bytes in rawmode.
|
data - either raw bytes with data or just number of bytes in rawmode.
|
||||||
|
@ -239,7 +239,7 @@ class TestLibUnpack:
|
||||||
mode: str,
|
mode: str,
|
||||||
rawmode: str,
|
rawmode: str,
|
||||||
data: int | bytes,
|
data: int | bytes,
|
||||||
*pixels: int | float | tuple[int, ...],
|
*pixels: float | tuple[int, ...],
|
||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
data - either raw bytes with data or just number of bytes in rawmode.
|
data - either raw bytes with data or just number of bytes in rawmode.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user