Skip to content

Commit 72360ed

Browse files
committed
lint
1 parent 7f66c3d commit 72360ed

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/array_api_extra/_apply.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@
88
from types import ModuleType
99
from typing import TYPE_CHECKING, Any, cast
1010

11+
from ._lib._compat import (
12+
array_namespace,
13+
is_dask_namespace,
14+
is_jax_namespace,
15+
)
16+
from ._lib._typing import Array, DType
17+
1118
if TYPE_CHECKING:
1219
# https://github.com/scikit-learn/scikit-learn/pull/27910#issuecomment-2568023972
1320
from typing import TypeAlias
1421

1522
import numpy as np
1623
import numpy.typing as npt
1724

18-
NumPyObject: TypeAlias = npt.NDArray[Any] | np.generic # type: ignore[no-any-explicit]
19-
20-
from ._lib._compat import (
21-
array_namespace,
22-
is_dask_namespace,
23-
is_jax_namespace,
24-
)
25-
from ._lib._typing import Array, DType
25+
NumPyObject: TypeAlias = npt.NDArray[DType] | np.generic # type: ignore[no-any-explicit]
2626

2727

2828
def apply_numpy_func( # type: ignore[no-any-explicit]

0 commit comments

Comments
 (0)