Skip to content

Commit 7fd80df

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0b3f38b commit 7fd80df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openml/tasks/split.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def _from_arff_file(cls, filename: Path) -> OpenMLSplit: # noqa: C901, PLR0912
102102
if not filename.exists():
103103
raise FileNotFoundError(f"Split arff {filename} does not exist!")
104104

105-
file_data = arff.load(open(filename),return_type=arff.DENSE_GEN)
105+
file_data = arff.load(open(filename), return_type=arff.DENSE_GEN)
106106
splits = file_data["data"]
107107
name = file_data["relation"]
108108
attrnames = [attr[0] for attr in file_data["attributes"]]

0 commit comments

Comments
 (0)