Skip to content

Commit 4484e1b

Browse files
committed
make ruff formatting tests pass
1 parent c02b9a5 commit 4484e1b

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

bayes_opt/logger.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from datetime import datetime
66
from typing import TYPE_CHECKING, Any
77

8-
import numpy as np
98
from colorama import Fore, just_fix_windows_console
109

1110
if TYPE_CHECKING:

bayes_opt/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Contains utility functions."""
22

33
from __future__ import annotations
4+
45
import numpy as np
56

67

tests/test_bayesian_optimization.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from bayes_opt.acquisition import AcquisitionFunction
1212
from bayes_opt.domain_reduction import SequentialDomainReductionTransformer
1313
from bayes_opt.exception import NotUniqueError
14-
from bayes_opt.logger import ScreenLogger
1514
from bayes_opt.parameter import BayesParameter
1615
from bayes_opt.target_space import TargetSpace
1716
from bayes_opt.util import ensure_rng

tests/test_util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
from __future__ import annotations
22

3-
from pathlib import Path
4-
53
import numpy as np
4+
65
from bayes_opt.util import ensure_rng
76

87

0 commit comments

Comments
 (0)