File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def register(
114114 warp_matrix ,
115115 warp_mode ,
116116 criteria ,
117- valid_mask , # type: ignore[arg-type]
117+ valid_mask ,
118118 self .gauss_kernel_size ,
119119 )
120120 except cv2 .error as cv2err : # pylint: disable=catching-non-exception
Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ 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]
165166 resize_function = partial (_pil_resize_ndarray , size = size , method = resize_method .get_pil_method ())
166167
167168 resized_data = _apply_to_spatial_axes (resize_function , data , spatial_axes )
You can’t perform that action at this time.
0 commit comments