Skip to content

Commit 3d972f7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e5a60c0 commit 3d972f7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

flox/aggregate_flox.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
from functools import partial
22

3+
import cupy as cp
4+
import cupyx
35
import numpy as np
46

57
from .xrutils import isnull
68

7-
import cupy as cp
8-
import cupyx
9-
109
cupy_array_type = (cp.ndarray,)
1110

1211
cupy_ops = {

flox/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
import toolz as tlz
1414

1515
from . import xrdtypes
16+
from .aggregate_flox import _prepare_for_flox
1617
from .aggregations import (
1718
Aggregation,
1819
_atleast_1d,
1920
_initialize_aggregation,
2021
generic_aggregate,
2122
)
22-
from .aggregate_flox import _prepare_for_flox
2323
from .cache import memoize
2424
from .xrutils import is_duck_array, is_duck_dask_array, isnull
2525

0 commit comments

Comments
 (0)