Skip to content

Commit 6c2e558

Browse files
authored
Merge pull request #189 from VectorInstitute/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 3a6fa0c + 54ebbf9 commit 6c2e558

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: check-toml
1818

1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: 'v0.14.14'
20+
rev: 'v0.15.6'
2121
hooks:
2222
- id: ruff
2323
args: [--fix, --exit-non-zero-on-fix]

vec_inf/client/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def parse_launch_output(output: str) -> tuple[str, dict[str, str]]:
345345
command output. Configuration parameters are parsed from key-value pairs
346346
in the output text.
347347
"""
348-
slurm_job_id = output.split(" ")[-1].strip().strip("\n")
348+
slurm_job_id = output.rsplit(" ", maxsplit=1)[-1].strip().strip("\n")
349349

350350
# Extract config parameters
351351
config_dict = {}

0 commit comments

Comments
 (0)