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 Aug 15, 2024
1 parent 9397d1a commit 670bf3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xclim/core/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,9 @@ def unstack_periods(da: xr.DataArray | xr.Dataset, dim: str = "period"):
0 o o o x x
=== === === === === === === ===
"""
from xclim.core.units import infer_sampling_units # pylint: disable=import-outside-toplevel
from xclim.core.units import ( # pylint: disable=import-outside-toplevel
infer_sampling_units,
)

try:
starts = da[dim]
Expand Down

0 comments on commit 670bf3c

Please sign in to comment.