Have Vulture skip tests/ instead of tests/unit_tests/

This commit is contained in:
Shreya 2021-06-03 11:57:44 +05:30
parent b69c1c531a
commit 52b57a7166
2 changed files with 1 additions and 5 deletions

View File

@ -23,5 +23,5 @@ addopts = "-v --capture=sys tests"
norecursedirs = "node_modules dist" norecursedirs = "node_modules dist"
[tool.vulture] [tool.vulture]
exclude = ["monkey/monkey_island/cc/ui/", "monkey/tests/unit_tests/"] exclude = ["monkey/monkey_island/cc/ui/", "monkey/tests/"]
paths = ["."] paths = ["."]

View File

@ -192,7 +192,3 @@ environment # unused variable (monkey/monkey_island/cc/models/monkey.py:59)
_.environment # unused attribute (monkey/monkey_island/cc/services/telemetry/processing/system_info_collectors/environment.py:10) _.environment # unused attribute (monkey/monkey_island/cc/services/telemetry/processing/system_info_collectors/environment.py:10)
_.instance_name # unused attribute (monkey/common/cloud/azure/azure_instance.py:35) _.instance_name # unused attribute (monkey/common/cloud/azure/azure_instance.py:35)
_.instance_name # unused attribute (monkey/common/cloud/azure/azure_instance.py:64) _.instance_name # unused attribute (monkey/common/cloud/azure/azure_instance.py:64)
# used in tests/unit_tests/ which is skipped by Vulture
data_for_tests_dir # unused function (monkey/tests/conftest.py:11)