From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0AB0715806C for ; Fri, 11 Jul 2025 19:44:07 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E95113420FE for ; Fri, 11 Jul 2025 19:44:06 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DA3DB1102F2; Fri, 11 Jul 2025 19:44:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D019C1102F2 for ; Fri, 11 Jul 2025 19:44:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8BE8B3420FC for ; Fri, 11 Jul 2025 19:44:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07F473006 for ; Fri, 11 Jul 2025 19:44:04 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1752263007.35d74e5a39dc50ed066ca129917b40ea9fe99ce6.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: src/pkgcheck/checks/ X-VCS-Repository: proj/pkgcore/pkgcheck X-VCS-Files: src/pkgcheck/checks/metadata.py X-VCS-Directories: src/pkgcheck/checks/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 35d74e5a39dc50ed066ca129917b40ea9fe99ce6 X-VCS-Branch: master Date: Fri, 11 Jul 2025 19:44:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 75bfae48-fa0c-4f71-891c-905168944144 X-Archives-Hash: 84323e60cb09638a1752bb7b49ff9b8d commit: 35d74e5a39dc50ed066ca129917b40ea9fe99ce6 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 11 19:43:27 2025 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 11 19:43:27 2025 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=35d74e5a fix formatting Signed-off-by: Arthur Zamarin gentoo.org> src/pkgcheck/checks/metadata.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pkgcheck/checks/metadata.py b/src/pkgcheck/checks/metadata.py index 53bfdf2e..2020eaec 100644 --- a/src/pkgcheck/checks/metadata.py +++ b/src/pkgcheck/checks/metadata.py @@ -767,7 +767,7 @@ class MissingPackageRevision(results.VersionResult, results.Warning): def desc(self): return ( f'"{self.op}" operator used without package revision: {self.dep}="{self.atom}"; ' - f'did you mean either of: {self.suggestions}?' + f"did you mean either of: {self.suggestions}?" ) @@ -977,7 +977,9 @@ class DependencyCheck(Check): else: repl1 = self._make_replacement_atom(atom, atom.op, "-r9999") - yield MissingPackageRevision(attr, atom.op, str(atom), [repl0, repl1], pkg=pkg) + yield MissingPackageRevision( + attr, atom.op, str(atom), [repl0, repl1], pkg=pkg + ) if isinstance(atom, transitive_use_atom) and atom.use is not None: for useflag in atom.use: