Add flake8-unused-arguments

- Request fixtures only needed for their side effects
  via `@pytest.mark.usefixtures()` instead of as arguments
- Remove fixtures that a test does not use at all
- Exempt abstract methods because their arguments define an interface
This commit is contained in:
Alexander Hess 2026-11-28 03:47:55 +01:00
commit 882d3c98ba
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -195,6 +195,7 @@ def lint_code(session: Session) -> None:
"flake8-quotes",
"flake8-sfs",
"flake8-todos",
"flake8-unused-arguments",
"isort",
# TODO: See comment on `mypy` below
# 'mypy',