Skip to content

Commit f3df115

Browse files
committed
Fix C408 and E402
1 parent 15fbafd commit f3df115

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

cupy_xarray/kvikio.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,13 @@ def open_group(
8585
if isinstance(store, os.PathLike):
8686
store = os.fspath(store)
8787

88-
open_kwargs = dict(
89-
mode=mode,
90-
synchronizer=synchronizer,
91-
path=group,
88+
open_kwargs = {
89+
"mode": mode,
90+
"synchronizer": synchronizer,
91+
"path": group,
9292
########## NEW STUFF
93-
meta_array=cp.empty(()),
94-
)
93+
"meta_array": cp.empty(()),
94+
}
9595
open_kwargs["storage_options"] = storage_options
9696

9797
if chunk_store:

cupy_xarray/tests/test_kvikio.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
import numpy as np
33
import pytest
44
import xarray as xr
5+
from xarray.core.indexing import ExplicitlyIndexedNDArrayMixin
56

67
kvikio = pytest.importorskip("kvikio")
78
zarr = pytest.importorskip("zarr")
89

910
import kvikio.zarr # noqa
1011
import xarray.core.indexing # noqa
11-
from xarray.core.indexing import ExplicitlyIndexedNDArrayMixin
1212

1313

1414
@pytest.fixture

0 commit comments

Comments
 (0)