Skip to content

Commit e8ce1c0

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

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

xarray/core/dataset.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ def _maybe_chunk(
289289
chunked_array_type: str | ChunkManagerEntrypoint | None = None,
290290
from_array_kwargs=None,
291291
):
292-
293292
from xarray.namedarray.daskmanager import DaskManager
294293

295294
if chunks is not None:

xarray/core/indexing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,6 @@ def __init__(self, array):
14181418
self.array = array
14191419

14201420
def __getitem__(self, key):
1421-
14221421
if isinstance(key, BasicIndexer):
14231422
return self.array[key.tuple]
14241423
elif isinstance(key, VectorizedIndexer):

xarray/tests/test_cftime_offsets.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,7 +1690,6 @@ def test_new_to_legacy_freq_anchored(year_alias, n):
16901690
),
16911691
)
16921692
def test_legacy_to_new_freq_pd_freq_passthrough(freq, expected):
1693-
16941693
result = _legacy_to_new_freq(freq)
16951694
assert result == expected
16961695

@@ -1716,7 +1715,6 @@ def test_legacy_to_new_freq_pd_freq_passthrough(freq, expected):
17161715
),
17171716
)
17181717
def test_new_to_legacy_freq_pd_freq_passthrough(freq, expected):
1719-
17201718
result = _new_to_legacy_freq(freq)
17211719
assert result == expected
17221720

0 commit comments

Comments
 (0)