Skip to content

Commit 0c6326d

Browse files
committed
fix type ignore lines in magic_ops
1 parent 320a8f4 commit 0c6326d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/bioimageio/core/_magic_tensor_ops.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,30 +173,30 @@ def __invert__(self) -> Self:
173173

174174
def round(self, *args: Any, **kwargs: Any) -> Self:
175175
return self._unary_op(
176-
ops.round_,
176+
ops.round_, # pyright: ignore[reportUnknownArgumentType]
177177
*args,
178-
**kwargs, # pyright: ignore[reportUnknownArgumentType]
178+
**kwargs,
179179
)
180180

181181
def argsort(self, *args: Any, **kwargs: Any) -> Self:
182182
return self._unary_op(
183-
ops.argsort,
183+
ops.argsort, # pyright: ignore[reportUnknownArgumentType]
184184
*args,
185-
**kwargs, # pyright: ignore[reportUnknownArgumentType]
185+
**kwargs,
186186
)
187187

188188
def conj(self, *args: Any, **kwargs: Any) -> Self:
189189
return self._unary_op(
190-
ops.conj,
190+
ops.conj, # pyright: ignore[reportUnknownArgumentType]
191191
*args,
192-
**kwargs, # pyright: ignore[reportUnknownArgumentType]
192+
**kwargs,
193193
)
194194

195195
def conjugate(self, *args: Any, **kwargs: Any) -> Self:
196196
return self._unary_op(
197-
ops.conjugate,
197+
ops.conjugate, # pyright: ignore[reportUnknownArgumentType]
198198
*args,
199-
**kwargs, # pyright: ignore[reportUnknownArgumentType]
199+
**kwargs,
200200
)
201201

202202
__add__.__doc__ = operator.add.__doc__

0 commit comments

Comments
 (0)