Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 28, 2024
1 parent 2581671 commit da31a5e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions openml/tasks/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ def __list_tasks( # noqa: PLR0912, C901
# TODO(eddiebergman): Maybe since this isn't public api, we can make it keyword only?
def get_tasks(
task_ids: list[int],
download_data: bool | None = None, # noqa: FBT001, FBT002
download_qualities: bool | None = None, # noqa: FBT001, FBT002
download_data: bool | None = None,
download_qualities: bool | None = None,
) -> list[OpenMLTask]:
"""Download tasks.
Expand Down Expand Up @@ -383,7 +383,9 @@ def get_tasks(

tasks = []
for task_id in task_ids:
tasks.append(get_task(task_id, download_data=download_data, download_qualities=download_qualities))
tasks.append(
get_task(task_id, download_data=download_data, download_qualities=download_qualities)
)
return tasks


Expand Down

0 comments on commit da31a5e

Please sign in to comment.