| Message ID | 20260106142834.2511220-10-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767709766; bh=xbuBqR9hRkLsVBDMiL0I7RXK6BGONWv+6buR41S6PoM=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=O65xqumcL16R+EWGj2/Onq9B4nAtL1bzagaKs7+jEScM3+obX0XcUYNZsvn8LbNwz ddYubFKdO07ayO55IMzK7Wmpr/IywpB7oInzXBnj8ROiXY7/1OADPFk9bxCkmAGp+9 4L+rBq8KbsnxchlTtsdGenLt5RFaSe1gcMHWM6Zp8R3zeMMnjVGjIyPUzt/kz2ikxQ xV4t6yD3Ryup3gii/ME2TA0S0n2mvFn9Jytk3ETtP0TTr9+vL4E/dqWjUuXJ36MKZH SnydWgCc1J5IhKFNaUHwJkAnUBO88KIzxYD+BbR3f3zhzrIHxJIGLUbZmmBCUppjvE s34qpvH9kZspA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 139326912C for <u-boot-concept@u-boot.org>; Tue, 6 Jan 2026 07:29:26 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id MOh2eOgKrzVF for <u-boot-concept@u-boot.org>; Tue, 6 Jan 2026 07:29:26 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767709766; bh=xbuBqR9hRkLsVBDMiL0I7RXK6BGONWv+6buR41S6PoM=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=O65xqumcL16R+EWGj2/Onq9B4nAtL1bzagaKs7+jEScM3+obX0XcUYNZsvn8LbNwz ddYubFKdO07ayO55IMzK7Wmpr/IywpB7oInzXBnj8ROiXY7/1OADPFk9bxCkmAGp+9 4L+rBq8KbsnxchlTtsdGenLt5RFaSe1gcMHWM6Zp8R3zeMMnjVGjIyPUzt/kz2ikxQ xV4t6yD3Ryup3gii/ME2TA0S0n2mvFn9Jytk3ETtP0TTr9+vL4E/dqWjUuXJ36MKZH SnydWgCc1J5IhKFNaUHwJkAnUBO88KIzxYD+BbR3f3zhzrIHxJIGLUbZmmBCUppjvE s34qpvH9kZspA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 03E0769122 for <u-boot-concept@u-boot.org>; Tue, 6 Jan 2026 07:29:26 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767709765; bh=0qYAtuNqQjMcX48eNoBL2gooIGYJieCuGP9AX8LqOWo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BVeLiGZsCIfSVZccQhULjqZsUYTt16OUPhyDPAivBQaihoC0Mzxv9n8gxirUoUTIB Gtm/lHhrT5q2wVwpp6LDnvpgWBRvrFf8cw0ubiAVwdwqzJcbYqvb2yKOrMc+gxT0p+ Mpg+JhvzPiCaOoZ1/Hv+DU8KVpAsee6PHPL6nluW/JG/1U04hKM3jHJBfpqx7ng7ux IfgPwyO9/XJmZXleEA5vVtYklyQHJCfdw5gH6fkbYlgAA7KfqnRaPcxBKMj7OWNtxK x10Ep9K4VBFVtlRL5dMGt2tXNHzkt4rbeWlCfEsAwzGbOy6m2aPA9mZW+A/ueCHAF9 qqGn740bhkMTg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3F1FA69054; Tue, 6 Jan 2026 07:29:25 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id MVo7vrPaa9oO; Tue, 6 Jan 2026 07:29:25 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767709761; bh=SCF/mBHaQLmaEvX7QrELFr2iuEESAo7POkndcIVhmE8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W7XqGW6OZ7FbrNF3MpviAbkCbaF7QXXsLh48QhFGEnoE/Bh7366c9jLLLZPo/usAR j5EpBn8HGwQhnyrSapTBWuU6985ygSz9w75XGhS+DKsjuy7fvJqFNazcLF/Jqwv6Ia I0KaG4fNP6Uf9St7gTK673it+Yh+qJGRs7Spu8Wi0ELsyhNXUTIuu+BFZWSrCSf6Ux GQtBB7qG4Kg9FymXWNTrvkRlq9867x2ei17gSocCLJfIcnri0yA4rQtJpTK2T/X8Gs Lmoz7RfB8mLY4xEg2wWRGVwG84bEC34E8aewztgfATyhASrs4tgp0VfPqAOKk7/6cl jmo4J489zxkCQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 1FE9269118; Tue, 6 Jan 2026 07:29:21 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Tue, 6 Jan 2026 07:28:14 -0700 Message-ID: <20260106142834.2511220-10-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260106142834.2511220-1-sjg@u-boot.org> References: <20260106142834.2511220-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: MOSHASTIVD6VHXRIFWC2EOSRL7GGD5SH X-Message-ID-Hash: MOSHASTIVD6VHXRIFWC2EOSRL7GGD5SH X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass <simon.glass@canonical.com>, Claude <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 09/22] buildman: Use set comprehension in test.py List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/MOSHASTIVD6VHXRIFWC2EOSRL7GGD5SH/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
buildman: Clean up test.py for pylint compliance
|
|
Commit Message
Simon Glass
Jan. 6, 2026, 2:28 p.m. UTC
From: Simon Glass <simon.glass@canonical.com> Use set comprehension instead of set() with list comprehension to fix pylint R1718 warning. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- tools/buildman/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/buildman/test.py b/tools/buildman/test.py index 8b015e22090..e59c623f6bf 100644 --- a/tools/buildman/test.py +++ b/tools/buildman/test.py @@ -712,7 +712,7 @@ class TestBuild(unittest.TestCase): build.commits = self.commits build.commit_count = len(commits) result = set(build._get_output_space_removals()) - expected = set([os.path.join(base_dir, f) for f in to_remove]) + expected = {os.path.join(base_dir, f) for f in to_remove} self.assertEqual(expected, result) def test_adjust_cfg_nop(self):