diff --git a/project/pyproject.toml.jinja b/project/pyproject.toml.jinja index bde1e34..05069db 100644 --- a/project/pyproject.toml.jinja +++ b/project/pyproject.toml.jinja @@ -42,6 +42,7 @@ ruff = "^0.8.6" bandit = "^1.8.0" pre-commit = "^4.0.1" pyright = "^1.1.391" +vulture = "^2.14" {% if include_notebooks %}ipykernel = "^6.29.5" ipywidgets = "^8.1.5" ipython = "^8.31.0" @@ -236,3 +237,9 @@ pythonPlatform = "Linux" include = ["src"] reportMissingImports = true reportMissingTypeStubs = false + +[tool.vulture] +sort_by_size = true +verbose = false +min_confidence = 70 +paths = ["src"] diff --git a/project/{% if use_precommit %}.pre-commit-config.yaml{% endif %}.jinja b/project/{% if use_precommit %}.pre-commit-config.yaml{% endif %}.jinja index 2ce08b5..3946f11 100644 --- a/project/{% if use_precommit %}.pre-commit-config.yaml{% endif %}.jinja +++ b/project/{% if use_precommit %}.pre-commit-config.yaml{% endif %}.jinja @@ -69,6 +69,11 @@ repos: language: system types: [python] +- repo: https://github.com/jendrikseipp/vulture + rev: v2.14 + hooks: + - id: vulture + - repo: https://github.com/gitleaks/gitleaks rev: v8.22.1 hooks: