Skip to content

Commit

Permalink
Enable type-ignore in array.py now that mypy 1.14 is released
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Dec 20, 2024
1 parent e9c70d9 commit 179cf09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pytato/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,7 @@ def _binary_op(

if not isinstance(other, (Array, *SCALAR_CLASSES)):
# https://github.com/python/mypy/issues/4791
# This type-ignore will become necessary with mypy 1.14.
return NotImplemented # not-yet-type: ignore[no-any-return]
return NotImplemented # type: ignore[no-any-return]

# }}}

Expand Down

0 comments on commit 179cf09

Please sign in to comment.