minikconf: add mypy annotations

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini
2026-04-24 11:37:14 +02:00
parent 858d15b9e9
commit 7b4680b03f
2 changed files with 122 additions and 101 deletions

View File

@@ -65,6 +65,9 @@ class TestLinters:
]
)
def test_mypy_minikconf(self):
check_call([sys.executable, "-m", "mypy", "../scripts/minikconf.py"])
def test_mypy_pkg(self):
check_call([sys.executable, "-m", "mypy", "-p", "qemu"])