Skip to content

Commit

Permalink
Add mypy ignore due to numpy typing change
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-ballarin committed Sep 14, 2024
1 parent 390f5a6 commit 1469198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rbnicsx/_backends/tensors_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def comm(self: typing_extensions.Self) -> mpi4py.MPI.Intracomm:
@property
def shape(self: typing_extensions.Self) -> tuple[int, ...]:
"""Return the shape of the array."""
return self._array.shape
return self._array.shape # type: ignore[no-any-return]

@property
def type(self: typing_extensions.Self) -> typing.Optional[str]:
Expand Down

0 comments on commit 1469198

Please sign in to comment.