Skip to content

Commit 6f21e21

Browse files
committed
Remove type:ignore comment
The underlying issue is now fixed in mypy, see python/mypy#7399
1 parent 4801673 commit 6f21e21

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/libertem/udf/base.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,8 +1028,7 @@ def get_backends(self) -> BackendSpec:
10281028
An iterable containing possible values :code:`numpy` (default), :code:`'cuda'` and
10291029
:code:`cupy`
10301030
'''
1031-
# mypy error here fixed in master: https://github.com/python/mypy/pull/11236
1032-
return ('numpy', ) # type: ignore
1031+
return ('numpy', )
10331032

10341033
def cleanup(self) -> None: # FIXME: name? implement cleanup as context manager somehow?
10351034
pass

0 commit comments

Comments
 (0)