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

* chore(pre_commit): ⬆ pre_commit autoupdate

updates:
- [github.com/tox-dev/pyproject-fmt: v2.12.1 → v2.14.2](https://github.com/tox-dev/pyproject-fmt/compare/v2.12.1...v2.14.2)
- [github.com/abravalheri/validate-pyproject: v0.24.1 → v0.25](https://github.com/abravalheri/validate-pyproject/compare/v0.24.1...v0.25)
- [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.14...v0.15.0)

* fix(pre_commit): 🎨 auto format pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot] authored and GitHub committed 2026-02-10 21:24:35 +09:00
1 parent 8e4fedf3f1
commit 6d35301672
2 files changed
+14 -22

No files matched your search

+3 -3
View File
@@ -26,17 +26,17 @@ repos:
- id: mixed-line-ending
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.12.1
rev: v2.14.2
hooks:
- id: pyproject-fmt
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.24.1
rev: v0.25
hooks:
- id: validate-pyproject
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.14
rev: v0.15.0
hooks:
- id: ruff-check
args: [--fix]
+11 -19
View File
@@ -58,7 +58,6 @@ dependencies = [
"scipy>=1.10",
"tqdm>=4.62.3",
]
optional-dependencies.metrics = [
"pandas>=2",
]
@@ -95,22 +94,16 @@ build = [
[tool.setuptools]
include-package-data = false
package-data.supervision = [ "py.typed" ]
packages.find.where = [ "src" ]
packages.find.include = [ "supervision*" ]
[tool.setuptools.package-data]
supervision = [ "py.typed" ]
[tool.setuptools.packages.find]
where = [ "src" ]
include = [ "supervision*" ]
#exclude = [ "docs*", "tests*", "examples*" ]
# exclude = [ "docs*", "tests*", "examples*" ]
[tool.ruff]
target-version = "py39"
line-length = 88
indent-width = 4
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
@@ -138,7 +131,6 @@ exclude = [
"yarn-error.log",
"yarn.lock",
]
# Like Black, indent with spaces, rather than tabs.
format.indent-style = "space"
# Like Black, use double quotes for strings.
@@ -160,7 +152,7 @@ lint.select = [
"UP", # pyupgrade - https://docs.astral.sh/ruff/rules/#pyupgrade-up
"W", # pycodestyle warnings - https://docs.astral.sh/ruff/rules/#pycodestyle-w
]
lint.ignore = [ ]
lint.ignore = []
lint.per-file-ignores."__init__.py" = [ "E402", "F401" ]
lint.per-file-ignores."src/**" = [
"S101", # TODO: Replace asserts with proper error handling
@@ -168,7 +160,7 @@ lint.per-file-ignores."src/**" = [
lint.per-file-ignores."tests/**" = [
"S101", # Use of `assert` detected
]
lint.unfixable = [ ]
lint.unfixable = []
# Allow unused variables when underscore-prefixed.
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
lint.flake8-quotes.docstring-quotes = "double"
@@ -187,12 +179,12 @@ count = true
quiet-level = 3
ignore-words-list = "STrack,sTrack,strack"
[tool.pytest.ini_options]
addopts = [
[tool.pytest]
ini_options.addopts = [
"--doctest-modules",
"--color=yes",
]
doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE"
ini_options.doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE"
[tool.mypy]
python_version = "3.9"
@@ -200,12 +192,12 @@ ignore_missing_imports = false
explicit_package_bases = true
strict = true
mypy_path = "src"
#exclude = [
# exclude = [
# "docs",
# "test",
# "examples",
# "setup.py",
#]
# ]
[[tool.mypy.overrides]]
module = [