Skip to content

Commit

Permalink
TYP: ignore a spurious mypy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jun 22, 2024
1 parent 175cd2d commit 47a57dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/_maintenance/numpy2_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
if NUMPY_VERSION >= Version("2.0.0dev0"):
from numpy import trapezoid as trapezoid # type: ignore [attr-defined]
else:
from numpy import trapz as trapezoid # noqa: F401
from numpy import trapz as trapezoid # type: ignore [attr-defined] # noqa: F401

0 comments on commit 47a57dc

Please sign in to comment.