Skip to content

Commit e5e75da

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

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/anemoi/datasets/create/sources/accumulation_utils/intervals.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from anemoi.utils.dates import frequency_to_timedelta
1717
from numpy.typing import NDArray
1818

19+
1920
class Interval:
2021
sign: int | None = None
2122

@@ -110,7 +111,7 @@ def apply(self, accumulated: NDArray | None, values: NDArray) -> NDArray:
110111

111112
class IntervalsCollection:
112113
_todo: set | None = None
113-
114+
114115
def __init__(
115116
self,
116117
valid_date: datetime.datetime,

src/anemoi/datasets/create/sources/accumulation_utils/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
from typing import Any
1111

12+
1213
def _member(field: Any) -> int:
1314
"""Retrieves the member number from the field metadata.
1415

0 commit comments

Comments
 (0)