Skip to content

Commit 5d7c526

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

File tree

11 files changed

+49
-49
lines changed

11 files changed

+49
-49
lines changed

openml/__init__.py

+16-16
Original file line numberDiff line numberDiff line change
@@ -91,35 +91,35 @@ def populate_cache(
9191

9292

9393
__all__ = [
94-
"OpenMLDataset",
94+
"OpenMLBenchmarkSuite",
95+
"OpenMLClassificationTask",
96+
"OpenMLClusteringTask",
9597
"OpenMLDataFeature",
96-
"OpenMLRun",
97-
"OpenMLSplit",
98+
"OpenMLDataset",
9899
"OpenMLEvaluation",
99-
"OpenMLSetup",
100-
"OpenMLParameter",
101-
"OpenMLTask",
102-
"OpenMLSupervisedTask",
103-
"OpenMLClusteringTask",
100+
"OpenMLFlow",
104101
"OpenMLLearningCurveTask",
102+
"OpenMLParameter",
105103
"OpenMLRegressionTask",
106-
"OpenMLClassificationTask",
107-
"OpenMLFlow",
104+
"OpenMLRun",
105+
"OpenMLSetup",
106+
"OpenMLSplit",
108107
"OpenMLStudy",
109-
"OpenMLBenchmarkSuite",
108+
"OpenMLSupervisedTask",
109+
"OpenMLTask",
110+
"__version__",
111+
"_api_calls",
112+
"config",
110113
"datasets",
111114
"evaluations",
112115
"exceptions",
113116
"extensions",
114-
"config",
115-
"runs",
116117
"flows",
117-
"tasks",
118+
"runs",
118119
"setups",
119120
"study",
121+
"tasks",
120122
"utils",
121-
"_api_calls",
122-
"__version__",
123123
]
124124

125125
# Load the scikit-learn extension by default

openml/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -512,10 +512,10 @@ def overwrite_config_context(config: dict[str, Any]) -> Iterator[_Config]:
512512

513513
__all__ = [
514514
"get_cache_directory",
515+
"get_config_as_dict",
515516
"set_root_cache_directory",
516517
"start_using_configuration_for_example",
517518
"stop_using_configuration_for_example",
518-
"get_config_as_dict",
519519
]
520520

521521
_setup()

openml/datasets/__init__.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
)
1818

1919
__all__ = [
20+
"OpenMLDataFeature",
21+
"OpenMLDataset",
2022
"attributes_arff_from_df",
2123
"check_datasets_active",
2224
"create_dataset",
25+
"delete_dataset",
26+
"edit_dataset",
27+
"fork_dataset",
2328
"get_dataset",
2429
"get_datasets",
2530
"list_datasets",
26-
"OpenMLDataset",
27-
"OpenMLDataFeature",
28-
"status_update",
2931
"list_qualities",
30-
"edit_dataset",
31-
"fork_dataset",
32-
"delete_dataset",
32+
"status_update",
3333
]

openml/evaluations/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
__all__ = [
77
"OpenMLEvaluation",
8-
"list_evaluations",
98
"list_evaluation_measures",
9+
"list_evaluations",
1010
"list_evaluations_setups",
1111
]

openml/extensions/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
__all__ = [
1212
"Extension",
13-
"register_extension",
14-
"get_extension_by_model",
1513
"get_extension_by_flow",
14+
"get_extension_by_model",
15+
"register_extension",
1616
]

openml/flows/__init__.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
__all__ = [
1414
"OpenMLFlow",
15-
"get_flow",
16-
"list_flows",
17-
"get_flow_id",
18-
"flow_exists",
1915
"assert_flows_equal",
2016
"delete_flow",
17+
"flow_exists",
18+
"get_flow",
19+
"get_flow_id",
20+
"list_flows",
2121
]

openml/runs/__init__.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
"OpenMLRun",
2020
"OpenMLRunTrace",
2121
"OpenMLTraceIteration",
22-
"run_model_on_task",
23-
"run_flow_on_task",
22+
"delete_run",
2423
"get_run",
25-
"list_runs",
26-
"get_runs",
2724
"get_run_trace",
28-
"run_exists",
25+
"get_runs",
2926
"initialize_model_from_run",
3027
"initialize_model_from_trace",
31-
"delete_run",
28+
"list_runs",
29+
"run_exists",
30+
"run_flow_on_task",
31+
"run_model_on_task",
3232
]

openml/setups/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
from .setup import OpenMLParameter, OpenMLSetup
55

66
__all__ = [
7-
"OpenMLSetup",
87
"OpenMLParameter",
8+
"OpenMLSetup",
99
"get_setup",
10+
"initialize_model",
1011
"list_setups",
1112
"setup_exists",
12-
"initialize_model",
1313
]

openml/study/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
from .study import OpenMLBenchmarkSuite, OpenMLStudy
2020

2121
__all__ = [
22-
"OpenMLStudy",
2322
"OpenMLBenchmarkSuite",
23+
"OpenMLStudy",
2424
"attach_to_study",
2525
"attach_to_suite",
2626
"create_benchmark_suite",
@@ -33,6 +33,6 @@
3333
"get_suite",
3434
"list_studies",
3535
"list_suites",
36-
"update_suite_status",
3736
"update_study_status",
37+
"update_suite_status",
3838
]

openml/tasks/__init__.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
)
2020

2121
__all__ = [
22-
"OpenMLTask",
23-
"OpenMLSupervisedTask",
24-
"OpenMLClusteringTask",
25-
"OpenMLRegressionTask",
2622
"OpenMLClassificationTask",
23+
"OpenMLClusteringTask",
2724
"OpenMLLearningCurveTask",
25+
"OpenMLRegressionTask",
26+
"OpenMLSplit",
27+
"OpenMLSupervisedTask",
28+
"OpenMLTask",
29+
"TaskType",
2830
"create_task",
31+
"delete_task",
2932
"get_task",
3033
"get_tasks",
3134
"list_tasks",
32-
"OpenMLSplit",
33-
"TaskType",
34-
"delete_task",
3535
]

openml/testing.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ def create_request_response(
348348

349349

350350
__all__ = [
351-
"TestBase",
352-
"SimpleImputer",
353351
"CustomImputer",
352+
"SimpleImputer",
353+
"TestBase",
354354
"check_task_existence",
355355
"create_request_response",
356356
]

0 commit comments

Comments
 (0)