forked from p34709852/monkey
Add vulture pre-commit hook
This commit is contained in:
parent
e609094a59
commit
2f6803dc3d
|
@ -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
|
||||||
|
|
|
@ -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 = ["."]
|
||||||
|
|
Loading…
Reference in New Issue