lint: Ignore test functions in vulture

These aren't unused, but discovered/enumerated by `unittest` or
`pytest`.
This commit is contained in:
Martin Pitt 2024-03-13 07:21:40 +01:00 committed by Martin Pitt
parent 8299216e27
commit a6ef3a1643

View file

@ -42,3 +42,8 @@ mark-parentheses = false
[tool.ruff.lint.isort]
known-first-party = ["cockpit"]
[tool.vulture]
ignore_names = [
"test[A-Z0-9]*",
]