From patchwork Thu Feb 12 21:16:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1839 Return-Path: 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=1770931004; bh=CsMmyK6vTlIrG4GOvY1bGbtcTOvif/IyQRbN8dWDXEI=; 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=X4lrBb/tJL7ECe5HUfagTsVuo+pjkuH4ZO2WDtPLTWnL+gN9a16KM24QH62QOoV95 WuwakSPORg6/QuT7/vpGDmbgHqSuVVZSOF+C+sVls59Rq43CFCPGKYS8x+yVa/H51C 40ZQqhDK/a0UQzF9SvW8JTkMoA4dh0f6tijjx0Zmi722bD48ajS4JfcxmYqOWaxcfF dksU7IFh3YFt1x4FxVa5FoPxmhgqz4DTOeT1iCP7OufxueIeuhbVHf0FvuT3xmGKHW Jid9w1IFb557bI7Q4jALxgNoLnVCYT4o25/ok3WUHWKmTCMsHBU/fgLeC/GxAsqFtd Gkhffnkdbtc/Q== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9B7B469ABB for ; Thu, 12 Feb 2026 14:16:44 -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 reMtc-6IOSXL for ; Thu, 12 Feb 2026 14:16:44 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770931004; bh=CsMmyK6vTlIrG4GOvY1bGbtcTOvif/IyQRbN8dWDXEI=; 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=X4lrBb/tJL7ECe5HUfagTsVuo+pjkuH4ZO2WDtPLTWnL+gN9a16KM24QH62QOoV95 WuwakSPORg6/QuT7/vpGDmbgHqSuVVZSOF+C+sVls59Rq43CFCPGKYS8x+yVa/H51C 40ZQqhDK/a0UQzF9SvW8JTkMoA4dh0f6tijjx0Zmi722bD48ajS4JfcxmYqOWaxcfF dksU7IFh3YFt1x4FxVa5FoPxmhgqz4DTOeT1iCP7OufxueIeuhbVHf0FvuT3xmGKHW Jid9w1IFb557bI7Q4jALxgNoLnVCYT4o25/ok3WUHWKmTCMsHBU/fgLeC/GxAsqFtd Gkhffnkdbtc/Q== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8161969ABF for ; Thu, 12 Feb 2026 14:16:44 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770931003; bh=ItS3Kv+BF1IW8NSp0Xf5TDuKHMT/oYKLdMzbo1Gk3FE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eJPZEfhBgVVzI6N47a3nds9rVrKEQVjrcFXsYhTe+XMkYkPTTO+n12xjAw05/DPQC hBd3IwqLurcjOSGZX81CVclcfqwg28rZ2zttMlWp7NjrodP1fadHce7MfpB00C3HYu HDOdjafqbAOjWuEPgxqznfZsF9JUhg6flx2p5kskvXswRkTlKr7H11VwQnxcs/Ifon TuxXavbptzMMFDLmaJWI+ueMU0G9c27KgJ+jrXLnE6JSSOmT/j+C4cCprZGA9AXV3O MWL7DVrTTKrmFPTHSbLfGVqMEIw07QSHbWc5R7FYut977IB2u10kGwu+iz/calg2gb xMktmL7Gh5tYA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 116AA69ABB; Thu, 12 Feb 2026 14:16:43 -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 13i3DUeppVDX; Thu, 12 Feb 2026 14:16:42 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1770930998; bh=50WXCtSrGdiQmQvmvYCdt17QCaARC35Z38VEEQwzdlQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W3IIOnen99aCL/qutErXOxlz7ZiVqpudqPgEx1TLHiLawqFRDksJckndrhGgWkORS Ien9BXrPde+iLo1lgyGpkx2TMNvleYXiYFF/mY1jscBDAjugv+tAnIxgq7kXqGBpqU 4qAWiBghnKJfMaV2h+HNg/2KnRogobok0Kq0gZwk9sU8k03USC474e+wqUB3dKghTw Hr9n5wX0O7fl8egZYcpp6FfekdyjKUkkx8/4K2WRoPLUvhvM+aZhTFMqTO+8BsHzO2 tZV6ZUHyLtEG+lwYZPX0RAl7hNqi3fh7rplVX/4fDcLkdx77rjTItOwSemgDzBJEMy vKfhcdNuf2dfA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 7C6746994D; Thu, 12 Feb 2026 14:16:38 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Thu, 12 Feb 2026 14:16:14 -0700 Message-ID: <20260212211626.167191-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260212211626.167191-1-sjg@u-boot.org> References: <20260212211626.167191-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: Q76QWCZPNE4ZWJEF2A322Q6GKWGV6OW3 X-Message-ID-Hash: Q76QWCZPNE4ZWJEF2A322Q6GKWGV6OW3 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 , "Claude Opus 4 . 6" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 1/9] pickman: Fix line-too-long pylint warnings in ftest List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Break three lines that exceed the 80-column limit. Co-developed-by: Claude Opus 4.6 Signed-off-by: Simon Glass --- tools/pickman/agent.py | 3 ++- tools/pickman/ftest.py | 13 ++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/tools/pickman/agent.py b/tools/pickman/agent.py index 589d61b727a..129743bb329 100644 --- a/tools/pickman/agent.py +++ b/tools/pickman/agent.py @@ -25,7 +25,8 @@ SIGNAL_APPLIED = 'already_applied' SIGNAL_CONFLICT = 'conflict' # Commits that need special handling (regenerate instead of cherry-pick) -# These run savedefconfig on all boards and depend on target branch Kconfig state +# These run savedefconfig on all boards and depend on target branch +# Kconfig state QCONFIG_SUBJECTS = [ 'configs: Resync with savedefconfig', ] diff --git a/tools/pickman/ftest.py b/tools/pickman/ftest.py index d63cfbc6758..049725475f6 100644 --- a/tools/pickman/ftest.py +++ b/tools/pickman/ftest.py @@ -3195,7 +3195,8 @@ class TestProcessMergedMrs(unittest.TestCase): with terminal.capture(): dbs = database.Database(self.db_path) dbs.start() - dbs.source_set('us/next', 'bbb222bbb222bbb222bbb222bbb222bbb222bbb2') + dbs.source_set('us/next', + 'bbb222bbb222bbb222bbb222bbb222bbb222bbb2') dbs.commit() merged_mrs = [gitlab.PickmanMr( @@ -3282,7 +3283,8 @@ Date: Mon Jan 15 10:30:00 2024 -0600 def test_calc_ratio_different_files(self): """Test delta ratio calculation for different files.""" orig_stats = control.GitStat(2, 15, 3, {'file1.c', 'file2.h'}) - cherry_stats = control.GitStat(3, 15, 3, {'file1.c', 'file2.h', 'file3.c'}) + cherry_stats = control.GitStat( + 3, 15, 3, {'file1.c', 'file2.h', 'file3.c'}) ratio = control.calc_ratio(orig_stats, cherry_stats) self.assertGreater(ratio, 0.0) @@ -3862,8 +3864,9 @@ class TestDoPick(unittest.TestCase): return_value=(commits, None)): with mock.patch.object(control, 'run_git', return_value='main'): - with mock.patch.object(control.agent, 'cherry_pick_commits', - return_value=(True, 'log')) as mock_agent: + with mock.patch.object( + control.agent, 'cherry_pick_commits', + return_value=(True, 'log')) as mock_agent: ret = control.do_pick(args, dbs) # Verify agent was called with correct branch name @@ -3931,7 +3934,7 @@ class TestDoPick(unittest.TestCase): def run_git_handler(args): if '--verify' in args: - raise Exception('branch not found') + raise ValueError('branch not found') return 'main' with mock.patch.object(control, 'get_commits_for_pick',