From aa14f3864a98d009d7b851110929e0d2ba055586 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:05:52 +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.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.14...v0.15.4) --- .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..f960090 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.4' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 909c9b6846019006c37bbe22e04ae712b97549a6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:43:52 +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 = {}