Skip to content

Commit fbddfa1

Browse files
author
Matic Lubej
committed
pylint ignore cv2
1 parent 33b66a6 commit fbddfa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eolearn/coregistration/coregistration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def register(
117117
valid_mask, # type: ignore[arg-type]
118118
self.gauss_kernel_size,
119119
)
120-
except cv2.error as cv2err:
120+
except cv2.error as cv2err: # pylint: disable=catching-non-exception
121121
warnings.warn(f"Could not calculate the warp matrix: {cv2err}", EORuntimeWarning)
122122

123123
return warp_matrix

0 commit comments

Comments
 (0)