From 12b4267d609afd6a56505a1982de06cdc5fd6db3 Mon Sep 17 00:00:00 2001 From: John Snow Date: Tue, 18 Nov 2025 15:06:57 -0500 Subject: [PATCH] python/qapi: delint import statements MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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> --- scripts/qapi/commands.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 ( -- 2.47.3