commit: 35d74e5a39dc50ed066ca129917b40ea9fe99ce6
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 11 19:43:27 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> 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 <arthurzam <AT> 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: