diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5cf7f2a8..06b10b8a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: args: ["--print-width=120"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.18.1 + rev: v2.20.0 hooks: - id: pyproject-fmt @@ -44,7 +44,7 @@ repos: - id: validate-pyproject - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.6 + rev: v0.15.7 hooks: - id: ruff-check args: [--fix] diff --git a/pyproject.toml b/pyproject.toml index 95b0882f..45581513 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -178,13 +178,6 @@ count = true quiet-level = 3 ignore-words-list = "STrack,sTrack,strack" -[tool.pytest] -ini_options.addopts = [ - "--doctest-modules", - "--color=yes", -] -ini_options.doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE" - [tool.mypy] python_version = "3.9" ignore_missing_imports = false @@ -204,6 +197,13 @@ overrides = [ ], ignore_errors = true }, ] +[tool.pytest] +ini_options.addopts = [ + "--doctest-modules", + "--color=yes", +] +ini_options.doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE" + [tool.autoflake] check = true imports = [ "cv2", "supervision" ]