chore: ruff format updates

This commit is contained in:
Matthias
2025-01-13 18:04:48 +01:00
parent 01ce4e42c6
commit f1c5d4a970
36 changed files with 66 additions and 85 deletions

View File

@@ -43,8 +43,7 @@ class FreqaiMultiOutputClassifier(MultiOutputClassifier):
if y.ndim == 1:
raise ValueError(
"y must have at least two dimensions for "
"multi-output regression but has only one."
"y must have at least two dimensions for multi-output regression but has only one."
)
if sample_weight is not None and not has_fit_parameter(self.estimator, "sample_weight"):

View File

@@ -35,8 +35,7 @@ class FreqaiMultiOutputRegressor(MultiOutputRegressor):
if y.ndim == 1:
raise ValueError(
"y must have at least two dimensions for "
"multi-output regression but has only one."
"y must have at least two dimensions for multi-output regression but has only one."
)
if sample_weight is not None and not has_fit_parameter(self.estimator, "sample_weight"):