From 5f0654e5ccc74eb3b5f634f1a2c7d447d39bbf51 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 10:01:41 +0200 Subject: [PATCH] =?UTF-8?q?chore(pre=5Fcommit):=20=E2=AC=86=20pre=5Fcommit?= =?UTF-8?q?=20autoupdate=20(#2460)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(pre_commit): ⬆ pre_commit autoupdate updates: - [github.com/rbubley/mirrors-prettier: v3.9.5 → v3.9.6](https://github.com/rbubley/mirrors-prettier/compare/v3.9.5...v3.9.6) - [github.com/tox-dev/pyproject-fmt: v2.25.3 → v2.26.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.25.3...v2.26.0) - [github.com/astral-sh/ruff-pre-commit: v0.15.22 → v0.16.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.22...v0.16.0) * test(detection): fix type hint for `expected_results` in VLM tests * fix(pre_commit): 🎨 auto format pre-commit hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: jirka <6035284+Borda@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- docs/changelog.md | 2 +- tests/detection/test_vlm.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 40dd4fc2..3079906e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: - id: mixed-line-ending - repo: https://github.com/rbubley/mirrors-prettier - rev: v3.9.5 + rev: v3.9.6 hooks: - id: prettier files: \.(ya?ml|toml)$ @@ -45,7 +45,7 @@ repos: args: ["--print-width=120"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.25.3 + rev: v2.26.0 hooks: - id: pyproject-fmt additional_dependencies: @@ -57,7 +57,7 @@ repos: - id: validate-pyproject - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.22 + rev: v0.16.0 hooks: - id: ruff-check args: ["--fix"] diff --git a/docs/changelog.md b/docs/changelog.md index 857fd54d..51f5cde3 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,5 @@ --- -description: "Full version history of the supervision Python library — release notes, breaking changes, new features, and deprecations for every version." +description: Full version history of the supervision Python library — release notes, breaking changes, new features, and deprecations for every version. date_modified: 2026-07-21 --- diff --git a/tests/detection/test_vlm.py b/tests/detection/test_vlm.py index 1365bfa6..3ed808ba 100644 --- a/tests/detection/test_vlm.py +++ b/tests/detection/test_vlm.py @@ -1234,8 +1234,8 @@ def test_from_google_gemini_2_5( result: str, resolution_wh: tuple[int, int], classes: list[str] | None, - expected_results: None - | (tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray, np.ndarray]), + expected_results: tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray, np.ndarray] + | None, ) -> None: with exception: (