Skip to content

Commit

Permalink
pre-commit style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lee1043 committed Sep 21, 2024
1 parent 40cd14e commit 4d1c7e4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xcdat/temporal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,11 @@ def _drop_incomplete_djf(self, dataset: xr.Dataset) -> xr.Dataset:
ds[self.dim].dt.year.values[0],
ds[self.dim].dt.year.values[-1],
)
incomplete_seasons = (f"{start_year:04d}-01", f"{start_year:04d}-02", f"{end_year:04d}-12")
incomplete_seasons = (
f"{start_year:04d}-01",
f"{start_year:04d}-02",
f"{end_year:04d}-12",
)

for year_month in incomplete_seasons:
try:
Expand Down

0 comments on commit 4d1c7e4

Please sign in to comment.