Skip to content

Commit 8789a25

Browse files
committed
pre-commit fixes
1 parent dbe2be2 commit 8789a25

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/hyperactive/experiment/integrations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""Integrations with packages for tuning."""
22
# copyright: hyperactive developers, MIT License (see LICENSE file)
33

4-
from hyperactive.experiment.integrations.sklearn_cv import SklearnCvExperiment
54
from hyperactive.experiment.integrations.lightgbm_experiment import LightGBMExperiment
5+
from hyperactive.experiment.integrations.sklearn_cv import SklearnCvExperiment
66
from hyperactive.experiment.integrations.skpro_probareg import (
77
SkproProbaRegExperiment,
88
)

src/hyperactive/experiment/integrations/lightgbm_experiment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def get_test_params(cls, parameter_set="default"):
2727
if not _check_soft_dependencies("lightgbm", severity="none"):
2828
return []
2929

30-
from sklearn.datasets import load_iris, load_diabetes
3130
from lightgbm import LGBMClassifier, LGBMRegressor
31+
from sklearn.datasets import load_diabetes, load_iris
3232

3333
# Classification test case
3434
X, y = load_iris(return_X_y=True)
@@ -61,4 +61,4 @@ def _get_score_params(cls):
6161
val0 = {"n_estimators": 5, "max_depth": 2}
6262
val1 = {"n_estimators": 5, "max_depth": 2}
6363

64-
return [val0, val1]
64+
return [val0, val1]

0 commit comments

Comments
 (0)