Skip to content

Commit

Permalink
Merge pull request #3 from twsl/feat/vulture
Browse files Browse the repository at this point in the history
Add vulture
  • Loading branch information
twsl authored Jan 10, 2025
2 parents 60a8d1d + 36aeeb3 commit 0413c35
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions project/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"]
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0413c35

Please sign in to comment.