Skip to content

Commit 0413c35

Browse files
authored
Merge pull request #3 from twsl/feat/vulture
Add vulture
2 parents 60a8d1d + 36aeeb3 commit 0413c35

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

project/pyproject.toml.jinja

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ ruff = "^0.8.6"
4242
bandit = "^1.8.0"
4343
pre-commit = "^4.0.1"
4444
pyright = "^1.1.391"
45+
vulture = "^2.14"
4546
{% if include_notebooks %}ipykernel = "^6.29.5"
4647
ipywidgets = "^8.1.5"
4748
ipython = "^8.31.0"
@@ -236,3 +237,9 @@ pythonPlatform = "Linux"
236237
include = ["src"]
237238
reportMissingImports = true
238239
reportMissingTypeStubs = false
240+
241+
[tool.vulture]
242+
sort_by_size = true
243+
verbose = false
244+
min_confidence = 70
245+
paths = ["src"]

project/{% if use_precommit %}.pre-commit-config.yaml{% endif %}.jinja

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ repos:
6969
language: system
7070
types: [python]
7171

72+
- repo: https://github.com/jendrikseipp/vulture
73+
rev: v2.14
74+
hooks:
75+
- id: vulture
76+
7277
- repo: https://github.com/gitleaks/gitleaks
7378
rev: v8.22.1
7479
hooks:

0 commit comments

Comments
 (0)