From 7b88b360080ae3ae5d6e5827ca0f4e70ce1651f1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:23:05 +0000 Subject: [PATCH 1/2] =?UTF-8?q?chore(pre=5Fcommit):=20=E2=AC=86=20pre=5Fco?= =?UTF-8?q?mmit=20autoupdate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/PyCQA/bandit: 1.8.3 → 1.9.3](https://github.com/PyCQA/bandit/compare/1.8.3...1.9.3) - [github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.15.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.12...v0.15.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c79c1bba..90d576e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -24,14 +24,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/PyCQA/bandit - rev: 1.8.3 + rev: 1.9.3 hooks: - id: bandit args: ["-c", "pyproject.toml"] additional_dependencies: ["bandit[toml]"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.12 + rev: v0.15.0 hooks: - id: ruff-format - id: ruff From c6afb80484464ca80333159398350d1d7e0abb35 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:24:07 +0000 Subject: [PATCH 2/2] =?UTF-8?q?fix(pre=5Fcommit):=20=F0=9F=8E=A8=20auto=20?= =?UTF-8?q?format=20pre-commit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roboflow/core/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roboflow/core/version.py b/roboflow/core/version.py index bd6e035c..1d9f2269 100644 --- a/roboflow/core/version.py +++ b/roboflow/core/version.py @@ -707,4 +707,4 @@ def __str__(self): def unwrap_version_id(version_id: str) -> str: - return version_id if "/" not in str(version_id) else version_id.split("/")[-1] + return version_id if "/" not in str(version_id) else version_id.rsplit("/", maxsplit=1)[-1]