File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ repos:
2020 args : [--fix]
2121 - id : ruff-format
2222
23+ - repo : https://github.com/jendrikseipp/vulture
24+ rev : v2.16
25+ hooks :
26+ - id : vulture
27+
2328 - repo : https://github.com/pre-commit/mirrors-mypy
2429 rev : v1.15.0
2530 hooks :
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ dev = [
3838 " pytest" ,
3939 " pytest-cov" ,
4040 " mypy" ,
41+ " vulture" ,
4142 " types-PyYAML" ,
4243 " types-requests" ,
4344]
@@ -78,6 +79,10 @@ indent-style = "space"
7879skip-magic-trailing-comma = false
7980line-ending = " auto"
8081
82+ [tool .vulture ]
83+ paths = [" set_dns.py" , " install.py" ]
84+ min_confidence = 80
85+
8186[tool .mypy ]
8287python_version = " 3.9"
8388warn_return_any = true
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ types-requests
1212
1313# Linting and formatting (via pre-commit)
1414pre-commit >= 4.0.0
15+ vulture >= 2.16
You can’t perform that action at this time.
0 commit comments