mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-06 21:40:09 +03:00
autotyping: --float-param
This commit is contained in:
parent
0b99b25a40
commit
cfd9a2ca05
|
@ -127,7 +127,7 @@ def compare_reduce_with_box(im, factor) -> None:
|
|||
|
||||
|
||||
def compare_reduce_with_reference(
|
||||
im, factor, average_diff=0.4, max_diff: int = 1
|
||||
im, factor, average_diff: float = 0.4, max_diff: int = 1
|
||||
) -> None:
|
||||
"""Image.reduce() should look very similar to Image.resize(BOX).
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user