Skip to content

Commit

Permalink
Added vulture (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise authored Oct 24, 2024
1 parent 894ebbd commit 825667b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,11 @@ repos:
files: no-files
args: ["lock", "--check"]
always_run: true

- repo: https://github.com/jendrikseipp/vulture
rev: 'v2.13'
hooks:
- id: vulture
args: ["src/"]
files: no-files
always_run: true
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,7 @@ exclude = '''

[tool.coverage.report]
fail_under = 73

[tool.vulture]
exclude = ["*/test*", "conftest.py", "networks.py"]
min_confidence = 80

0 comments on commit 825667b

Please sign in to comment.