summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2026-04-24 11:37:14 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2026-04-30 17:55:03 +0200
commit7b4680b03f874357132b2dceae08041316eaa8b7 (patch)
tree75bec47f16fed9137e92e83de9e9db6ffd39c71a /python
parent858d15b9e94c37f051de1a724a863c12e34cf216 (diff)
downloadqemu-7b4680b03f874357132b2dceae08041316eaa8b7.tar.gz
qemu-7b4680b03f874357132b2dceae08041316eaa8b7.zip
minikconf: add mypy annotations
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python')
-rw-r--r--python/tests/linters.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/tests/linters.py b/python/tests/linters.py
index 4ce4e8a980..82b88aebb2 100644
--- a/python/tests/linters.py
+++ b/python/tests/linters.py
@@ -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"])