From 927670158ea35e7cbef04e768031082a27be416d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 19:33:07 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.14...v0.15.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b520c20..31e62b4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - id: check-toml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.14.14' + rev: 'v0.15.1' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 053f162b46a54d3d2814e2a05da4e9ac8a2193dd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 19:34:41 +0000 Subject: [PATCH 2/2] [pre-commit.ci] Add auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- vec_inf/client/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vec_inf/client/_utils.py b/vec_inf/client/_utils.py index 5a8565b..e4a918f 100644 --- a/vec_inf/client/_utils.py +++ b/vec_inf/client/_utils.py @@ -345,7 +345,7 @@ def parse_launch_output(output: str) -> tuple[str, dict[str, str]]: command output. Configuration parameters are parsed from key-value pairs in the output text. """ - slurm_job_id = output.split(" ")[-1].strip().strip("\n") + slurm_job_id = output.rsplit(" ", maxsplit=1)[-1].strip().strip("\n") # Extract config parameters config_dict = {}