Skip to content

Commit 854c3a9

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

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/anemoi/datasets/create/source.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ def execute(self, argument) -> ekd.FieldList:
6969
if isinstance(argument, ValidDates):
7070
return self.execute_valid_dates(argument)
7171
raise TypeError(
72-
f"{type(self).__name__}.execute() received unsupported argument type "
73-
f"'{type(argument).__name__}'."
72+
f"{type(self).__name__}.execute() received unsupported argument type " f"'{type(argument).__name__}'."
7473
)
7574

7675
def execute_valid_dates(self, argument: "ValidDates") -> ekd.FieldList:
@@ -107,8 +106,7 @@ def execute_forecast_dates(self, argument: "ForecastDates") -> ekd.FieldList:
107106
The output data.
108107
"""
109108
raise NotImplementedError(
110-
f"'{type(self).__name__}' does not support the trajectory layout "
111-
f"(received {type(argument).__name__})."
109+
f"'{type(self).__name__}' does not support the trajectory layout " f"(received {type(argument).__name__})."
112110
)
113111

114112
def execute_intervals(self, argument: "Intervals") -> ekd.FieldList:

0 commit comments

Comments
 (0)