chore(pre_commit): ⬆ pre_commit autoupdate (#2460)

* 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>
This commit is contained in:
pre-commit-ci[bot] 2026-07-28 10:01:41 +02:00 committed by GitHub
parent caff4d1ec2
commit 5f0654e5cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -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"]

View File

@ -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
---

View File

@ -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:
(