Skip to content

Commit f858e21

Browse files
committed
style: fix import sorting to satisfy ruff
1 parent 5ede257 commit f858e21

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

machine_learning/linear_discriminant_analysis.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,7 @@ def accuracy(actual_y: list, predicted_y: list) -> float:
247247
# of all data and multiplied by 100
248248
return (correct / len(actual_y)) * 100
249249

250-
251-
def valid_input[num](
250+
def valid_input(
252251
input_type: Callable[[object], num], # Usually float or int
253252
input_msg: str,
254253
err_msg: str,

0 commit comments

Comments
 (0)