Add vulture pre-commit hook

This commit is contained in:
Mike Salvatore 2021-05-03 12:42:41 -04:00 committed by Shreya
parent e609094a59
commit 2f6803dc3d
2 changed files with 8 additions and 0 deletions

View File

@ -48,3 +48,7 @@ repos:
rev: v0.2 rev: v0.2
hooks: hooks:
- id: swimm-verify - id: swimm-verify
- repo: https://github.com/jendrikseipp/vulture
rev: v2.3
hooks:
- id: vulture

View File

@ -21,3 +21,7 @@ log_cli_format = "%(asctime)s [%(levelname)s] %(module)s.%(funcName)s.%(lineno)d
log_cli_date_format = "%H:%M:%S" log_cli_date_format = "%H:%M:%S"
addopts = "-v --capture=sys tests" addopts = "-v --capture=sys tests"
norecursedirs = "node_modules dist" norecursedirs = "node_modules dist"
[tool.vulture]
exclude = ["monkey/monkey_island/cc/ui"]
paths = ["."]