Skip to content

Commit 20d8095

Browse files
committed
Fix: PYI041 Use float instead of int | float
1 parent 6ed952b commit 20d8095

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/test_lib_pack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def assert_pack(
1515
mode: str,
1616
rawmode: str,
1717
data: int | bytes,
18-
*pixels: int | float | tuple[int, ...],
18+
*pixels: float | tuple[int, ...],
1919
) -> None:
2020
"""
2121
data - either raw bytes with data or just number of bytes in rawmode.
@@ -239,7 +239,7 @@ def assert_unpack(
239239
mode: str,
240240
rawmode: str,
241241
data: int | bytes,
242-
*pixels: int | float | tuple[int, ...],
242+
*pixels: float | tuple[int, ...],
243243
) -> None:
244244
"""
245245
data - either raw bytes with data or just number of bytes in rawmode.

0 commit comments

Comments
 (0)