From nobody Tue May 21 11:57:25 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1655803607; cv=none; d=zohomail.com; s=zohoarc; b=HR7IeejtKljDdDiQTnQiqXh7wIvhsidbsjE+GC7kYJcQmJgoKCsHPU63APcjGcsetmbVaJVySVjNdJZjw4LmDqsZrklULr9eN9H4Pg8HqwEz6VZmzClSZ6aln7+5gb61DyC0tAjsPJj3QA3CM/yWivpi92evTXV8gN9PTU+E6Wo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1655803607; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=o8AHjn9KKm4PG+L7M95T+smP/SKSkKz8KTatO9T5Rtc=; b=dhnbXORaxKEE8gPQDU9jrAA7GEyiUvAu/4ImBFMFamOgXa1vQyf2zyISWx43Uz+NWTmg+KQpLCun+bvoFt5NyCiHxjNiVZloxQObeHh7+KJ5cdVARxCMsPe2yZrFtGiiQCgXmiVhggrMxlPMwRhIBSUY4RxX/SXqjBGjBb5i4Uc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1655803607988299.4583332273969; Tue, 21 Jun 2022 02:26:47 -0700 (PDT) Received: from localhost ([::1]:46358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3a9m-0002pi-1n for importer@patchew.org; Tue, 21 Jun 2022 05:26:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3a8n-00026W-8t for qemu-devel@nongnu.org; Tue, 21 Jun 2022 05:25:45 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:55828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3a8l-0004m0-Gx for qemu-devel@nongnu.org; Tue, 21 Jun 2022 05:25:44 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-633-MNKm6dIjPyGGGpEaZzj7FA-1; Tue, 21 Jun 2022 05:25:38 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7B6E785A58A; Tue, 21 Jun 2022 09:25:38 +0000 (UTC) Received: from localhost (unknown [10.39.193.47]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3759840EC003; Tue, 21 Jun 2022 09:25:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655803543; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o8AHjn9KKm4PG+L7M95T+smP/SKSkKz8KTatO9T5Rtc=; b=V3iRTb60pj1zbCXIwei47K6wplJGsKwEHT9t9orqEyi5Gl6FBo4EGw4ANcKfFi9Piumojk CHrk63O562C8QSwHFQXIUy+t4/nskGyZmsBdQLQFlmeGYBCo8YsemmDnlLUKNbOp81MdZP p+Jnpxm3nXPmuwZGdueCAlFloLEvsfg= X-MC-Unique: MNKm6dIjPyGGGpEaZzj7FA-1 From: Hanna Reitz To: qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Hanna Reitz , John Snow , Kevin Wolf Subject: [PATCH] iotests/297: Have mypy ignore unused ignores Date: Tue, 21 Jun 2022 11:25:36 +0200 Message-Id: <20220621092536.19837-1-hreitz@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=hreitz@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1655803608859100001 Content-Type: text/plain; charset="utf-8" e7874a50ff3f5b20fb46f36958ad ("python: update for mypy 0.950") has added `warn_unused_ignores =3D False` to python/setup.cfg, to be able to keep compatibility with both pre- and post-0.950 mypy versions. The iotests' mypy.ini needs the same, or 297 will fail (on both pre- and post-0.950 mypy, as far as I can tell; just for different `ignore` lines). Signed-off-by: Hanna Reitz Acked-By: John Snow --- tests/qemu-iotests/mypy.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemu-iotests/mypy.ini b/tests/qemu-iotests/mypy.ini index 4c0339f558..d66ffc2e3c 100644 --- a/tests/qemu-iotests/mypy.ini +++ b/tests/qemu-iotests/mypy.ini @@ -9,4 +9,4 @@ no_implicit_optional =3D True scripts_are_modules =3D True warn_redundant_casts =3D True warn_unused_configs =3D True -warn_unused_ignores =3D True +warn_unused_ignores =3D False --=20 2.35.3