Skip to content

Commit 1f02a31

Browse files
[pre-commit.ci] pre-commit autoupdate (#1381)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.2 → v0.7.3](astral-sh/ruff-pre-commit@v0.7.2...v0.7.3) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update openml/runs/functions.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Pieter Gijsbers <[email protected]>
1 parent 0fabff2 commit 1f02a31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ files: |
77
)/.*\.py$
88
repos:
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: v0.7.2
10+
rev: v0.7.3
1111
hooks:
1212
- id: ruff
1313
args: [--fix, --exit-non-zero-on-fix, --no-cache]

openml/runs/functions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ def get_run(run_id: int, ignore_cache: bool = False) -> OpenMLRun: # noqa: FBT0
858858
return _create_run_from_xml(run_xml)
859859

860860

861-
def _create_run_from_xml(xml: str, from_server: bool = True) -> OpenMLRun: # noqa: PLR0915, PLR0912, C901, , FBT001, FBT002FBT
861+
def _create_run_from_xml(xml: str, from_server: bool = True) -> OpenMLRun: # noqa: PLR0915, PLR0912, C901, FBT001, FBT002
862862
"""Create a run object from xml returned from server.
863863
864864
Parameters

0 commit comments

Comments
 (0)