diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1c40911..8d921e7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: check-yaml - id: detect-private-key - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.21.2" + rev: "v2.25.0" hooks: - id: pyproject-fmt - repo: https://github.com/citation-file-format/cffconvert @@ -39,7 +39,7 @@ repos: - id: yamllint exclude: pre-commit-config.yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.14" + rev: "v0.15.19" hooks: - id: ruff-format - id: ruff-check diff --git a/pyproject.toml b/pyproject.toml index b825e6d..1c20af0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,6 +60,10 @@ lint.select = [ # Ignore `F401` (unused imports) for `__init__.py` file lint.per-file-ignores."__init__.py" = [ "F401" ] +[tool.vulture] +paths = [ "src/{{ python_package_name }}", "tests" ] +min_confidence = 90 + [tool.pytest] ini_options.pythonpath = [ "." ] ini_options.addopts = [ @@ -73,7 +77,3 @@ run.branch = true run.source = [ "tests" ] report.show_missing = true report.skip_covered = true - -[tool.vulture] -min_confidence = 90 -paths = [ "src/{{ python_package_name }}", "tests" ]