From e0e632d749ac53d9570a8b739fb5c44956b0a61d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 17:54:47 +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/tox-dev/pyproject-fmt: v2.21.1 → v2.23.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.1...v2.23.0) - [github.com/astral-sh/ruff-pre-commit: v0.15.12 → v0.15.15](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.12...v0.15.15) - [github.com/pre-commit/mirrors-mypy: v1.20.2 → v2.1.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.20.2...v2.1.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 90d8478d86..5a4b0e59de 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -37,7 +37,7 @@ repos: args: ["--print-width=120"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.21.1 + rev: v2.23.0 hooks: - id: pyproject-fmt @@ -47,7 +47,7 @@ repos: - id: validate-pyproject - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.12 + rev: v0.15.15 hooks: - id: ruff-check args: ["--fix"] @@ -65,7 +65,7 @@ repos: exclude: ^(docs/changelog\.md|docs/deprecated\.md)$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.20.2 + rev: v2.1.0 hooks: - id: mypy additional_dependencies: From 22c19e628503e7e2bb767ad15ba374046893f39f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 17:55:53 +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 --- pyproject.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 855cdc436f..5d2af3608a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,10 +94,10 @@ build = [ ] [tool.setuptools] -include-package-data = false -package-data.supervision = [ "py.typed" ] packages.find.where = [ "src" ] packages.find.include = [ "supervision*" ] +include-package-data = false +package-data.supervision = [ "py.typed" ] # exclude = [ "docs*", "tests*", "examples*" ] [tool.ruff] @@ -178,17 +178,17 @@ lint.pydocstyle.convention = "google" lint.pylint.max-args = 20 [tool.codespell] +ignore-words-list = "STrack,sTrack,strack" skip = "*.ipynb" count = true quiet-level = 3 -ignore-words-list = "STrack,sTrack,strack" [tool.mypy] -python_version = "3.9" -ignore_missing_imports = false +mypy_path = "src" explicit_package_bases = true +ignore_missing_imports = false +python_version = "3.9" strict = true -mypy_path = "src" overrides = [ # exclude = [ # "docs", @@ -197,18 +197,18 @@ overrides = [ # "setup.py", # ] { module = [ - "tests.*", "examples.*", + "tests.*", ], ignore_errors = true }, ] [tool.pytest] +ini_options.norecursedirs = [ ".git", ".venv", "build", "dist", "docs", "examples", "notebooks" ] ini_options.addopts = [ "--doctest-modules", "--color=yes", ] ini_options.doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE" -ini_options.norecursedirs = [ "examples", "docs", "notebooks", ".venv", ".git", "dist", "build" ] [tool.autoflake] check = true