Skip to content

Commit eadd54b

Browse files
author
Matic Lubej
committed
mypy ignore last try
1 parent 5f3cae7 commit eadd54b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

eolearn/features/utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,11 @@ def spatially_resize_image(
162162
if resize_library is ResizeLib.CV2:
163163
resize_function = partial(cv2.resize, dsize=size, interpolation=resize_method.get_cv2_method(data.dtype))
164164
else:
165-
# type: ignore[arg-type]
166-
resize_function = partial(_pil_resize_ndarray, size=size, method=resize_method.get_pil_method())
165+
resize_function = partial(
166+
_pil_resize_ndarray, # type: ignore[arg-type]
167+
size=size,
168+
method=resize_method.get_pil_method(),
169+
)
167170

168171
resized_data = _apply_to_spatial_axes(resize_function, data, spatial_axes)
169172

0 commit comments

Comments
 (0)