Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 18, 2024
1 parent 350b0b4 commit e8ce1c0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ def _maybe_chunk(
chunked_array_type: str | ChunkManagerEntrypoint | None = None,
from_array_kwargs=None,
):

from xarray.namedarray.daskmanager import DaskManager

if chunks is not None:
Expand Down
1 change: 0 additions & 1 deletion xarray/core/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,6 @@ def __init__(self, array):
self.array = array

def __getitem__(self, key):

if isinstance(key, BasicIndexer):
return self.array[key.tuple]
elif isinstance(key, VectorizedIndexer):
Expand Down
2 changes: 0 additions & 2 deletions xarray/tests/test_cftime_offsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,6 @@ def test_new_to_legacy_freq_anchored(year_alias, n):
),
)
def test_legacy_to_new_freq_pd_freq_passthrough(freq, expected):

result = _legacy_to_new_freq(freq)
assert result == expected

Expand All @@ -1716,7 +1715,6 @@ def test_legacy_to_new_freq_pd_freq_passthrough(freq, expected):
),
)
def test_new_to_legacy_freq_pd_freq_passthrough(freq, expected):

result = _new_to_legacy_freq(freq)
assert result == expected

Expand Down

0 comments on commit e8ce1c0

Please sign in to comment.