{"id":2230963,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2230963/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430090534.841894-4-pbonzini@redhat.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.1/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260430090534.841894-4-pbonzini@redhat.com>","date":"2026-04-30T09:05:24","name":"[03/13] minikconf: run through isort","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"3306924018bd9ffceeb293ce28891930190570c5","submitter":{"id":2701,"url":"http://patchwork.ozlabs.org/api/1.1/people/2701/?format=json","name":"Paolo Bonzini","email":"pbonzini@redhat.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20260430090534.841894-4-pbonzini@redhat.com/mbox/","series":[{"id":502245,"url":"http://patchwork.ozlabs.org/api/1.1/series/502245/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502245","date":"2026-04-30T09:05:25","name":"kconfig cleanups and mypy annotations","version":1,"mbox":"http://patchwork.ozlabs.org/series/502245/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2230963/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2230963/checks/","tags":{},"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=XTF/ZtPr;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=YqQIcUg2;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5pFr0kpXz1yGq\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 19:06:56 +1000 (AEST)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wINLC-0007wU-1A; Thu, 30 Apr 2026 05:05:50 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1wINLA-0007u8-9k\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 05:05:48 -0400","from us-smtp-delivery-124.mimecast.com ([170.10.129.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1wINL8-00035q-PT\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 05:05:47 -0400","from mail-wm1-f71.google.com (mail-wm1-f71.google.com\n [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-533-quKxCLF5P5Ct4UNNnl0Lng-1; Thu, 30 Apr 2026 05:05:44 -0400","by mail-wm1-f71.google.com with SMTP id\n 5b1f17b1804b1-488d2cd2674so5213525e9.0\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 02:05:44 -0700 (PDT)","from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a822bceeesm52245305e9.8.2026.04.30.02.05.40\n for <qemu-devel@nongnu.org>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 02:05:40 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777539945;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=0VfLYqMZyHqKeWJPdeYOSwKb4EQB5ql3jIF868ZoYDg=;\n b=XTF/ZtPrJIWrKapuB7PhGGkK94pTnQwsrnqxoKXdbRz1Fv4VYLrawYHidLnMQBISfTnR1Z\n XfnxT+s89ba35yGijA50iyqC8uQCJm4a8l3v4fXKdj5gHTFE4DW1sCFqwRU90w9/U5Iyia\n tPWHT5ak9C0H/qtZVFMiBJhclKLmx+M=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1777539942; x=1778144742; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:from:to:cc:subject:date:message-id\n :reply-to; bh=0VfLYqMZyHqKeWJPdeYOSwKb4EQB5ql3jIF868ZoYDg=;\n b=YqQIcUg2Nq0h5baqWBnZIg8dCJ+OVkHMvyMNjWxKXGxoBcFE5IosWrIYNPA3kOjOlC\n tkQ5ZJQnbRYcORFpwRUZKv0dzIaPZSzlE/sC36aO3rRRXBdDbBOWiLplr2e3TEQd5TdN\n NgtzJu410Z2ttZSNWTnbzdRLT0gJXZZoro6iQlNLKNBrk7eCnuqgIPmkrYcknEF+yFAr\n XGrwFEfZHMgoCfH6lS09wqRTz1FmiOd7NWUqIB68QocfsmJa0aTI7SPvbOaBhrmGzxgS\n PSQCCkxBt8b0p5+wmphzN0XubQ7Hl15KxMukm+2Dh3qV5voD/YfLaQcOPBekwNuUYWvq\n OW4w=="],"X-MC-Unique":"quKxCLF5P5Ct4UNNnl0Lng-1","X-Mimecast-MFC-AGG-ID":"quKxCLF5P5Ct4UNNnl0Lng_1777539943","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777539942; x=1778144742;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=0VfLYqMZyHqKeWJPdeYOSwKb4EQB5ql3jIF868ZoYDg=;\n b=T064nXaT0RrzRGszP4uVyKf78zxtCieAolbpw7pKkizQ5cnbGPo4sZ7R7VE4ZUxpu6\n zCJTTpxxdla5QnwI9kdG4YjRSqEtPx4Ylz/4fkuB9i4duJEyGQuKX7PCFb4CiijiZ3vy\n xldVS6QqfegIXKeddOTsmuBK2QLHnfZQr7xzY/fQi4tUyoVG+0vYXGxXfJz8/bNRmXYd\n n1MAyhwTE2AtAv/UnT/6Og3JJbu3XapinTEUIq+9cJvSd/SJ20QkIuAtrbn2s94uP384\n J4l7RENNen06iIYedGjS8oKa/t1G597Ahc1KO38tzhuH7jYAsfkBECjUEVuc14+2byqh\n vWog==","X-Gm-Message-State":"AOJu0YwMg0O5wYHmG1rCzvMBzNvMA3tckA8urKErev/8+WEN3CVhi/sG\n luxqJWnCuXYdHXpoubeCRPinY/hRd+u8vcD6nWpWCt7/pu6mV48lIQQABJ0HJEzjOQ8ooQLeyX2\n PJvL1+3x3ME7px9+Cn5zKhUcz29rivmn8fy9pz5QpduxFvtjCwE3DM+/oKL2IAzpN58O6HWViND\n +Tbpn8OApCjKej59o4BMOT8eKXjInGjVSHG2TXRMci","X-Gm-Gg":"AeBDietV5+L/l9BB52EWWoCVQF5nT/EAWapJ4YSfIZ4EqDvfp0YHodbIpK4EUkJiOV9\n awnkWBn64QnHWRlhdaes4b8OJwNhk+xFwV4wZnY0koeGJykB2zrvcDDYi9SSXHxUrKaqirPqKlq\n 3jdFTkhCyfmnPmpReWsD73Y8pn1Z3zb6GWv09cUIpJcGzdhvBDssA8Xua221rvjLrl3hxfI0O1L\n Cqt2NEj6AXfrve6U6GkEYXRjq9fUupvxtC5o+FB/5MCR3ZfwQR2U8Ikfk2JrgG1+luEAnygtFA6\n 462MOnzRMnY2Q4w0vaKsLACtsnCHDtGhfTwuvpwV8H8PaGeX4Yi0j856TtHdk6m5Nmj00Uv7fYz\n MvKna7aP/I6c59ycPWLLQ3iVPbJulfRdL3uKQE/TPx0yLMHuVi0JbCrotcHsJVPITlnA7vYT75l\n 15yrF8LByVT+vEcagpH/xDaQveM+ma6pAf8rY=","X-Received":["by 2002:a05:600c:c049:b0:48a:5501:7995 with SMTP id\n 5b1f17b1804b1-48a8446db7emr24284385e9.18.1777539941887;\n Thu, 30 Apr 2026 02:05:41 -0700 (PDT)","by 2002:a05:600c:c049:b0:48a:5501:7995 with SMTP id\n 5b1f17b1804b1-48a8446db7emr24283955e9.18.1777539941325;\n Thu, 30 Apr 2026 02:05:41 -0700 (PDT)"],"From":"Paolo Bonzini <pbonzini@redhat.com>","To":"qemu-devel@nongnu.org","Subject":"[PATCH 03/13] minikconf: run through isort","Date":"Thu, 30 Apr 2026 11:05:24 +0200","Message-ID":"<20260430090534.841894-4-pbonzini@redhat.com>","X-Mailer":"git-send-email 2.54.0","In-Reply-To":"<20260430090534.841894-1-pbonzini@redhat.com>","References":"<20260430090534.841894-1-pbonzini@redhat.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=170.10.129.124;\n envelope-from=pbonzini@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com","X-Spam_score_int":"-20","X-Spam_score":"-2.1","X-Spam_bar":"--","X-Spam_report":"(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,\n SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no","X-Spam_action":"no action","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"qemu development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"},"content":"Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n python/tests/linters.py | 3 +++\n scripts/minikconf.py    | 4 ++--\n 2 files changed, 5 insertions(+), 2 deletions(-)","diff":"diff --git a/python/tests/linters.py b/python/tests/linters.py\nindex 9696c0b71b8..4ce4e8a9805 100644\n--- a/python/tests/linters.py\n+++ b/python/tests/linters.py\n@@ -25,6 +25,9 @@ def test_flake8_qapi(self):\n             ]\n         )\n \n+    def test_isort_minikconf(self):\n+        check_call([sys.executable, \"-m\", \"isort\", \"-c\", \"../scripts/minikconf.py\"])\n+\n     def test_isort_pkg(self):\n         check_call([sys.executable, \"-m\", \"isort\", \"-c\", \"qemu/\"])\n \ndiff --git a/scripts/minikconf.py b/scripts/minikconf.py\nindex 4de5aeed11a..24389763db0 100644\n--- a/scripts/minikconf.py\n+++ b/scripts/minikconf.py\n@@ -12,9 +12,9 @@\n # the top-level directory.\n \n import os\n-import sys\n-import re\n import random\n+import re\n+import sys\n \n __all__ = [ 'KconfigDataError', 'KconfigParserError',\n             'KconfigData', 'KconfigParser' ,\n","prefixes":["03/13"]}