From patchwork Sun Feb 22 15:42:41 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1922 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=1771775009; bh=qYtJJT7j8y379ST+UiPU8ApyaR/fh1PsEY+9O61bPcI=; 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=b1Z73pTTjisGTDf8A2BbgzcnlBb5rG01w0Ov/pOsMnPhGlQBA19MYi/7+bEmaFqW5 4Cgh8vX8yvWqxG1iUm4A5ymAVWgZThGUd0/ho+jJxDsNO3Ave5i3M4Y71hTUoYgMyY kwRtiPVQgBl6qqXm2m6mtMnJt34WTKhMK3839iKCfmTOqO00hDs5m9eCAhR4xbf6QH 7qklj6OQtI6yN5fhZ1iv4njsfNs0sRA8QVoTyC6jycUJdO1BRyQmGfFOyLEKHmYRXn HJGFRIvCrDDGzj6Q9FfZ+Gm9szRLoqfNK3J2zqj/fKsJ4uLA+z2HXM6tKMrwoeoGWq xdBDFMvTi+gFw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id D010B69D36 for ; Sun, 22 Feb 2026 08:43:29 -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 jgovUS_mHWGz for ; Sun, 22 Feb 2026 08:43:29 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771775009; bh=qYtJJT7j8y379ST+UiPU8ApyaR/fh1PsEY+9O61bPcI=; 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=b1Z73pTTjisGTDf8A2BbgzcnlBb5rG01w0Ov/pOsMnPhGlQBA19MYi/7+bEmaFqW5 4Cgh8vX8yvWqxG1iUm4A5ymAVWgZThGUd0/ho+jJxDsNO3Ave5i3M4Y71hTUoYgMyY kwRtiPVQgBl6qqXm2m6mtMnJt34WTKhMK3839iKCfmTOqO00hDs5m9eCAhR4xbf6QH 7qklj6OQtI6yN5fhZ1iv4njsfNs0sRA8QVoTyC6jycUJdO1BRyQmGfFOyLEKHmYRXn HJGFRIvCrDDGzj6Q9FfZ+Gm9szRLoqfNK3J2zqj/fKsJ4uLA+z2HXM6tKMrwoeoGWq xdBDFMvTi+gFw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id BD3B669D3F for ; Sun, 22 Feb 2026 08:43:29 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771775006; bh=pQP3l2EatCmavDijLEm+RB1jF8njO1dSbzNAW5HxTqE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nPclFjrZALfQ+zLn7unJFmGIvNmtYtv8t+APyv0VKHK8+HE9JrlejxpIum+qZc5At ce9UyUlRY/I8HsLMsMGIzkUHFY2X60s83fWlvod6Jv0QRUXC99ju/iAL43EY8EtxYr zdDW6RRhsGrVvqfq+BiWzqWIhMRP+5cEVf3Dh81JZQRChGAbNW9j/EaBHyRktJW19O 6TTHK3ybbsmEHAq0RKtRq5sVz3m7xP1U4us7HaWT2GI2PCsPsTUhU0h5NmGkPWMYBu TWrIivKA+Ug00y6jagGPusIHZP91vofICx9RXKtwjlAfiUAr7h4S+WLi9q59FavfEw 61mTs9cLtRESQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9674069C65; Sun, 22 Feb 2026 08:43: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 10026) with ESMTP id AG0gMr9JiaFJ; Sun, 22 Feb 2026 08:43:26 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1771775002; bh=mh8EhJkEvDSXNj9JgKYberS0R74ilHX9+K6JSLooNcs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a4kwZy+yd3phu0e1mtF4yR8/PQmW/TL6AA0pnSkQ4CEMDAYMSWojREu9j5UrifFOz L5JFKyACN8DgMA/Uaop8RtCWmaTirCh0tswXkDy90dgSxIlUZOL89AS2F9ENg3bBzO RYTsm7wEfROp5xZcjF+xH9J2ZQdFsx0TXGx1aNMwHmZP6I+0VzBkrvopQrl/8s4OwZ oUUYk8JVq4Ngw6Gn8f27CDWXwqqHjNbtZd4O97EfYjq7ufbE86OcwuYapFLtN+/921 dAMEMXiWN0AunbjflI5jj4mgqeyiqYDUokXFBthwxi4qlSZBD1B2zqHH80oHjyTAxU 1ZGky7QuT02WA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 1077E69C5C; Sun, 22 Feb 2026 08:43:22 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Sun, 22 Feb 2026 08:42:41 -0700 Message-ID: <20260222154303.2851319-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260222154303.2851319-1-sjg@u-boot.org> References: <20260222154303.2851319-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: YTO5HGP7NSO6HG2AWN72SQ6PRRKH667Y X-Message-ID-Hash: YTO5HGP7NSO6HG2AWN72SQ6PRRKH667Y 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 01/16] pickman: Drop unnecessary f-string prefixes in do_rewind() 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 Three tout.info() calls in do_rewind() use f-strings that contain no interpolated variables, triggering pylint W1309. Remove the f prefix from these plain strings. Co-developed-by: Claude Opus 4.6 Signed-off-by: Simon Glass --- tools/pickman/control.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/pickman/control.py b/tools/pickman/control.py index 8f7568e47bf..40bcaaef120 100644 --- a/tools/pickman/control.py +++ b/tools/pickman/control.py @@ -1952,18 +1952,18 @@ def do_rewind(args, dbs): tout.info(f"{prefix}Rewind '{source}': " f'{current_short} -> {target_chash}') tout.info(f' Target: {target_chash} {target_subject}') - tout.info(f' Merges being rewound:') + tout.info(' Merges being rewound:') for i in range(target_idx): tout.info(f' {merges[i][1]} {merges[i][2]}') tout.info(f' Commits to delete from database: {len(db_commits)}') if matched_mrs: - tout.info(f' MRs to delete on GitLab:') + tout.info(' MRs to delete on GitLab:') for merge_req in matched_mrs: tout.info(f' !{merge_req.iid}: {merge_req.title}') tout.info(f' {merge_req.web_url}') elif mr_branches: - tout.info(f' Branches to check for MRs:') + tout.info(' Branches to check for MRs:') for branch in mr_branches: tout.info(f' {branch}')