Commit 151a86b2a6 for qemu.org
commit 151a86b2a60d4f8212347b00b5b3aec1a3cc6d03
Author: John Snow <jsnow@redhat.com>
Date: Tue Aug 25 17:58:46 2026 -0400
python: allow mypy to run as the current python version
Currently, we instruct mypy to run assuming a specific version of
python. Lift this restriction so that under tox tests, it will always
run assuming the current running version.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Message-ID: <20260825215851.1780608-12-jsnow@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
diff --git a/python/setup.cfg b/python/setup.cfg
index a22abba6c3..f866f65957 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -64,7 +64,6 @@ exclude = __pycache__,
[mypy]
strict = True
-python_version = 3.12
namespace_packages = True
warn_unused_ignores = False