| Message ID | 20260106142834.2511220-14-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=1767709786; bh=i1lsFSNoXveC5Hj+lP8Ehrjl92TKolNV+zGV96KHu+U=; 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=KlJC4wSHsHdSzi7fWFWJ4qlDx2lP03m/+fho0x3a8LQ74marrdK4uK3xKznTdAdRt Zej8xucgkUgi2fmIqtIiljrHNq4MnOaMw434zTquat+P0Y3eQxbr4ka4hl1PVDDyMe 4L5sUz0wHSL665gtfSmDNL0vSeG6GaIJcH2ehevQxZ4yxW1SqCQDfxYW7omdhVwNuw 7V9AJ2vDn2WWhfmTu6xhrrsRKofnLIdrrrMZ644jzf1Z2ctwvuivxki+3rqGWn4iGx qCb+fYoWetupDUEKu6b1IJjEo1IbxsKX788q/S9tOQdEDGkN/iIwy7/diqcBs7+1R3 MmzkO92cc2T9g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 557C369142 for <u-boot-concept@u-boot.org>; Tue, 6 Jan 2026 07:29:46 -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 Wb4EiKHO0D_p for <u-boot-concept@u-boot.org>; Tue, 6 Jan 2026 07:29:46 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767709786; bh=i1lsFSNoXveC5Hj+lP8Ehrjl92TKolNV+zGV96KHu+U=; 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=KlJC4wSHsHdSzi7fWFWJ4qlDx2lP03m/+fho0x3a8LQ74marrdK4uK3xKznTdAdRt Zej8xucgkUgi2fmIqtIiljrHNq4MnOaMw434zTquat+P0Y3eQxbr4ka4hl1PVDDyMe 4L5sUz0wHSL665gtfSmDNL0vSeG6GaIJcH2ehevQxZ4yxW1SqCQDfxYW7omdhVwNuw 7V9AJ2vDn2WWhfmTu6xhrrsRKofnLIdrrrMZ644jzf1Z2ctwvuivxki+3rqGWn4iGx qCb+fYoWetupDUEKu6b1IJjEo1IbxsKX788q/S9tOQdEDGkN/iIwy7/diqcBs7+1R3 MmzkO92cc2T9g== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 418A869118 for <u-boot-concept@u-boot.org>; Tue, 6 Jan 2026 07:29:46 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767709783; bh=becBVdnqHkAFvVaKVNrjCK4ClPjTavvup16eHbp/CXk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uwnLLnQdiV+1EnRgJ934P+yXohjKTLy+9oC5XV02DMFgVUk4XeB6PvO44WR9E8k8p 2Tm8nnDt3lCxo6tl4Bz9KjvL0gm30iPLH2eEsIPI19ioU2jxbW4R4ToK00qfOP9WXA 4Q7mqEQ22dUF2MThzEQDpfyuhLVg0oSyc2taZZHgeb8eSwjN1ow1JtozWYOkj02avi lGec7DDXtaNz6GQ4F7QHGhqeZyI9gPMyxz3IAzAodZk7YLTiWdGeZzoWOY2bDmHFMj 0q+XV9rd1mLCEGb+AMG5R2SNOaW7W4o3jL+6LaCELANoTSKMrdO8XxF3kMxSXp4lsO RT4lFoTM2ltCQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 92E7869054; Tue, 6 Jan 2026 07:29: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 nM0pMypqftvz; Tue, 6 Jan 2026 07:29:43 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767709779; bh=6ah5fiYVGSQ8HrZkiANRggLK3THnth92bu148deRUL8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A3VUaxQy9amsuVvgrsFFfo7Uz/khvjvHq6lsohEEGJDKNwcXNyo6ekFbDSgCtY96F BfIN7okl2mRW6LiMxFO9BxVgMgiMIMbI7FfC/WjNMpKX8VknTtoWf8/aUtU+HVhR9u EaHtrXtbXVEOgNfgAQb3vlYhB2ImST7iRjRTFUT0/+Qqsk/AA6unlqaMLE8/g9pmle 9TQ1lGWuZSoQo8ZZm5aOuPMVqaFfpYmDCkxVSrm7L4B8Ga18IlnZyfYfSqqWYulZ/q 5Pyl06LG6TddhU9kICrGhxJrIc0mPSBe/ByIUQrPhkfGGJEyFGmLUxtZCN5n35DlDu M/ZeOxiGw5dTw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 2698969083; Tue, 6 Jan 2026 07:29:39 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Tue, 6 Jan 2026 07:28:18 -0700 Message-ID: <20260106142834.2511220-14-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: IF364DCCKA7GT64HV5QBEMWOOFKRVDDL X-Message-ID-Hash: IF364DCCKA7GT64HV5QBEMWOOFKRVDDL 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 13/22] buildman: Mark unused arguments 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/IF364DCCKA7GT64HV5QBEMWOOFKRVDDL/> 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> Prefix unused arguments with underscore to indicate they are intentionally unused in mock functions, fixing pylint W0613 warnings. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- tools/buildman/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/buildman/test.py b/tools/buildman/test.py index 75b10a1d219..365a35e16a2 100644 --- a/tools/buildman/test.py +++ b/tools/buildman/test.py @@ -204,7 +204,7 @@ class TestBuild(unittest.TestCase): def tearDown(self): shutil.rmtree(self.base_dir) - def make(self, commit, brd, stage, *args, **kwargs): + def make(self, commit, brd, _stage, *_args, **_kwargs): """Mock make function for testing build output""" result = command.CommandResult() boardnum = int(brd.target[-1]) @@ -868,7 +868,7 @@ class TestBuild(unittest.TestCase): self.valid_pids = [pid for pid in self.valid_pids if pid != self.finish_pid] - def kill(self, pid, signal): + def kill(self, pid, _signal): """Mock kill function that validates process IDs""" if pid not in self.valid_pids: raise OSError('Invalid PID')