Skip to content

Commit

Permalink
Fix: PYI041 Use float instead of int | float
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Mar 23, 2024
1 parent 6ed952b commit 20d8095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_lib_pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def assert_pack(
mode: str,
rawmode: str,
data: int | bytes,
*pixels: int | float | tuple[int, ...],
*pixels: float | tuple[int, ...],
) -> None:
"""
data - either raw bytes with data or just number of bytes in rawmode.
Expand Down Expand Up @@ -239,7 +239,7 @@ def assert_unpack(
mode: str,
rawmode: str,
data: int | bytes,
*pixels: int | float | tuple[int, ...],
*pixels: float | tuple[int, ...],
) -> None:
"""
data - either raw bytes with data or just number of bytes in rawmode.
Expand Down

0 comments on commit 20d8095

Please sign in to comment.