From patchwork Mon Jan 5 18:30:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1281 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=1767637896; bh=fo1cCj84DEJp5EVg1GcmB8PjG9hg0BXv4PorVkZhmsE=; 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=QRg0fN5ayW8yFpYCpfHN5b2NPm+Yf7G+FTvGOElJZiw0/hNfP5jiChBa12AyEyZ39 S/8y4ugidp59QTWgqjJkDiKNL7woelI7qQEC1FbRO7naHSMPdNggIHSuSW4EyY41vx 4kyqn75TUOmaEQqEwzmMWedErbXbCKshQdel+DSvzqPjLoEqgxbGMvErM88We/AwAR pMh9VNrxLiqDPPkOriyB4BUdexoCQ+biIi1rboppv11JLfe5u7IZOIujfCxf2/qvc3 K8I/Q+vs6piy5d/mhFUJYLCfTiOD41OewylKi5WMZn+Fzyk/qyQzcBRqnq4YgS8V/5 WCZYFEVbshVKA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4A7116911C for ; Mon, 5 Jan 2026 11:31:36 -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 pGhjYm0jYhZb for ; Mon, 5 Jan 2026 11:31:36 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767637896; bh=fo1cCj84DEJp5EVg1GcmB8PjG9hg0BXv4PorVkZhmsE=; 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=QRg0fN5ayW8yFpYCpfHN5b2NPm+Yf7G+FTvGOElJZiw0/hNfP5jiChBa12AyEyZ39 S/8y4ugidp59QTWgqjJkDiKNL7woelI7qQEC1FbRO7naHSMPdNggIHSuSW4EyY41vx 4kyqn75TUOmaEQqEwzmMWedErbXbCKshQdel+DSvzqPjLoEqgxbGMvErM88We/AwAR pMh9VNrxLiqDPPkOriyB4BUdexoCQ+biIi1rboppv11JLfe5u7IZOIujfCxf2/qvc3 K8I/Q+vs6piy5d/mhFUJYLCfTiOD41OewylKi5WMZn+Fzyk/qyQzcBRqnq4YgS8V/5 WCZYFEVbshVKA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 394F06911B for ; Mon, 5 Jan 2026 11:31:36 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767637895; bh=SLDwYAYaFwYGTvwwTCYajzE3Cv9W7F5QHFlpgwKD454=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l3tEqRyMHVApAnvkGD5gHoELCajlcqAlDlRZ4Ei+1fvVrXkw98wdNzwboXefPdria KP79XtbZnRAaySVW7woBijWU6YmpGbPeSKuQafxhdazEKtDufWXeSKoygmcDlQptq7 3TwNE34YuFeTRLIhkeA57kaHllx6N0IEjGrflGsiRgeMoH6r4HE+NqrzsSpsGRstUd AJwMzy4yRQmDa4VUPqKb3ORXGMs56WysYlHgs0MlZ00Zw34pS/C8SIc7Uw1N1MMzYd glF9INsONWyZpuibqzuFXR9TBu80POIuclKgqIXaKhvm6ROW0D+Tze6Dh50skarEvV 2qbiOiDhLu68g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 3853269112; Mon, 5 Jan 2026 11:31:35 -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 6Sp1MUyH48tn; Mon, 5 Jan 2026 11:31:35 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767637890; bh=bVGD1Bqkzao8h/yjtjnSbEH99Xp9vi32qr/6TwuDU44=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gfyVL6o2as2avE0NGHvTS5knfWVsRilSz/N287hNLtLPFcdqEb6geR29Qjk2e6uHw WmpF1F88WeHHAtIXF7NUujUrMzroTjpu65Zk1Qhd2xYAjFPqptcRM9DA4R7P7Jd8f6 zcuWqWl8GLpy34dfRUDcztxw+bqVfitK1zzmRH4AhtGuKjFa5q84lsgA83rfKLRePN Ygqg3u5Cyx0lk7vPwIjjojJEt8xd5dL1xz8sj5QT6hz/dva9RpJJAk9R9CJba+ts4J D83hyPqKy93G19jK5zErZYgmf53hAj7Mdz7xX8eOxaA2Maq9eyDpw3r04ToncN3B5T l25J3ayC2FtQA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 9518369118; Mon, 5 Jan 2026 11:31:30 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Mon, 5 Jan 2026 11:30:26 -0700 Message-ID: <20260105183030.1487468-12-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260105183030.1487468-1-sjg@u-boot.org> References: <20260105183030.1487468-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: VHEV2VMK22RPTIZPZEVEJDPHQKENW4I3 X-Message-ID-Hash: VHEV2VMK22RPTIZPZEVEJDPHQKENW4I3 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 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 11/11] buildman: Fix return type documentation in builderthread.py 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 Update the return type documentation format in make() and run_commit() to satisfy pylint's missing-return-type-doc check. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- tools/buildman/builderthread.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py index bcebae5f327..dee31972e4b 100644 --- a/tools/buildman/builderthread.py +++ b/tools/buildman/builderthread.py @@ -252,7 +252,7 @@ class BuilderThread(threading.Thread): command.run_one() Returns: - CommandResult object + CommandResult: Result of the make operation """ return self.builder.do_make(commit, brd, stage, cwd, *args, **kwargs) @@ -661,9 +661,9 @@ class BuilderThread(threading.Thread): showed failure Returns: - tuple containing: - - CommandResult object containing the results of the build - - boolean indicating whether 'make config' is still needed + tuple: + CommandResult: Results of the build + bool: Indicates whether 'make config' is still needed """ # Create a default result - it will be overwritte by the call to # self.make() below, in the event that we do a build.