From: John Snow Date: Tue, 18 Nov 2025 20:06:57 +0000 (-0500) Subject: python/qapi: delint import statements X-Git-Tag: v10.2.0-rc1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12b4267d609afd6a56505a1982de06cdc5fd6db3;p=thirdparty%2Fqemu.git python/qapi: delint import statements Missed a spot with isort, which now causes the python-minreqs test on GitLab to fail. Fix it. (Hint: the commands in python/tests/qapi-isort.sh can be run without the "-c" parameter to automatically adjust import statements according to our style rules. Maybe I should make a pre-submit hook that makes this adjustment automatically. What do you think?) Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3200 Fixes: 5bd89761a4b ("qapi/command: Avoid generating unused qmp_marshal_output_T") Signed-off-by: John Snow Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Message-ID: <20251118200657.1043688-4-jsnow@redhat.com> --- diff --git a/scripts/qapi/commands.py b/scripts/qapi/commands.py index a82b5a2a5e..9dede74720 100644 --- a/scripts/qapi/commands.py +++ b/scripts/qapi/commands.py @@ -13,10 +13,7 @@ This work is licensed under the terms of the GNU GPL, version 2. See the COPYING file in the top-level directory. """ -from typing import ( - List, - Optional, -) +from typing import List, Optional from .common import c_name, mcgen from .gen import (