Skip to content

Commit

Permalink
no-redef
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Jun 30, 2024
1 parent 79790f7 commit 240587f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flox/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
normalize_axis_tuple,
)
else:
from numpy.core.numeric import normalize_axis_tuple # type: ignore[attr-defined]
from numpy.core.numeric import normalize_axis_tuple # type: ignore[no-redef]

HAS_NUMBAGG = module_available("numbagg", minversion="0.3.0")

Expand Down
2 changes: 1 addition & 1 deletion flox/xrutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def module_available(module: str, minversion: Optional[str] = None) -> bool:
normalize_axis_index,
)
else:
from numpy.core.numeric import normalize_axis_index # type: ignore[attr-defined]
from numpy.core.numeric import normalize_axis_index # type: ignore[no-redef]


try:
Expand Down

0 comments on commit 240587f

Please sign in to comment.