diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9122e1a8b..95e2a5239 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ files: | )/.*\.py$ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.2 + rev: v0.7.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --no-cache] diff --git a/openml/runs/functions.py b/openml/runs/functions.py index 46b46b751..b6f950020 100644 --- a/openml/runs/functions.py +++ b/openml/runs/functions.py @@ -858,7 +858,7 @@ def get_run(run_id: int, ignore_cache: bool = False) -> OpenMLRun: # noqa: FBT0 return _create_run_from_xml(run_xml) -def _create_run_from_xml(xml: str, from_server: bool = True) -> OpenMLRun: # noqa: PLR0915, PLR0912, C901, , FBT001, FBT002FBT +def _create_run_from_xml(xml: str, from_server: bool = True) -> OpenMLRun: # noqa: PLR0915, PLR0912, C901, FBT001, FBT002 """Create a run object from xml returned from server. Parameters