diff --git a/setup.py b/setup.py index df157824..745358b7 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,7 @@ "pytest-cov", "pytest-sugar", "tox", + "vulture", ] } diff --git a/tox.ini b/tox.ini index 962a36c7..02c405b8 100644 --- a/tox.ini +++ b/tox.ini @@ -48,4 +48,5 @@ commands = setup.py \ scripts/ \ tartufo/ \ - tests/ + tests/ \ + vulture_whitelist.py diff --git a/vulture_whitelist.py b/vulture_whitelist.py new file mode 100644 index 00000000..407cdb5a --- /dev/null +++ b/vulture_whitelist.py @@ -0,0 +1,9 @@ +# pylint: skip-file +# type: ignore + +Optional # unused import (tartufo/config.py:5) +repo_rules_filenames # unused variable (tartufo/config.py:80) +Iterable # unused import (tartufo/scanner.py:16) +Optional # unused import (tartufo/scanner.py:16) +Set # unused import (tartufo/scanner.py:16) +Callable # unused import (tartufo/util.py:8)