@@ -77,9 +77,7 @@ def __init__(self, license_group, license, restrictions, **kwargs):
7777 @property
7878 def desc (self ):
7979 restrictions = " " .join (self .restrictions )
80- return (
81- f"{ self .license_group } license { self .license !r} " f'requires RESTRICT="{ restrictions } "'
82- )
80+ return f'{ self .license_group } license { self .license !r} requires RESTRICT="{ restrictions } "'
8381
8482
8583class UnnecessaryLicense (results .VersionResult , results .Warning ):
@@ -374,8 +372,7 @@ def desc(self):
374372 num_profiles = ""
375373 # collapsed version
376374 return (
377- f"profile: { self .profile !r} { num_profiles } "
378- f"failed REQUIRED_USE: { self .required_use } "
375+ f"profile: { self .profile !r} { num_profiles } failed REQUIRED_USE: { self .required_use } "
379376 )
380377 return (
381378 f"keyword: { self .keyword } , profile: { self .profile !r} , "
@@ -707,7 +704,7 @@ def __init__(self, dep, dep_slots, **kwargs):
707704
708705 @property
709706 def desc (self ):
710- return f"{ self .dep !r} matches more than one slot: " f" [ { ', ' .join (self .dep_slots )} ]"
707+ return f"{ self .dep !r} matches more than one slot: [ { ', ' .join (self .dep_slots )} ]"
711708
712709
713710class MissingSlotDepCheck (Check ):
@@ -782,8 +779,7 @@ def desc(self):
782779 s = pluralism (self .pkgs )
783780 pkgs = ", " .join (self .pkgs )
784781 return (
785- f'{ self .attr } ="{ self .atom } ": USE flag { self .flag !r} missing from '
786- f"package{ s } : [ { pkgs } ]"
782+ f'{ self .attr } ="{ self .atom } ": USE flag { self .flag !r} missing from package{ s } : [ { pkgs } ]'
787783 )
788784
789785
@@ -1009,8 +1005,7 @@ def __init__(self, attr, atom, age, **kwargs):
10091005 @property
10101006 def desc (self ):
10111007 return (
1012- f'outdated blocker { self .attr } ="{ self .atom } ": '
1013- f"last match removed { self .age } years ago"
1008+ f'outdated blocker { self .attr } ="{ self .atom } ": last match removed { self .age } years ago'
10141009 )
10151010
10161011
@@ -1030,7 +1025,7 @@ def __init__(self, attr, atom, **kwargs):
10301025
10311026 @property
10321027 def desc (self ):
1033- return f'nonexistent blocker { self .attr } ="{ self .atom } ": ' " no matches in repo history"
1028+ return f'nonexistent blocker { self .attr } ="{ self .atom } ": no matches in repo history'
10341029
10351030
10361031class OutdatedBlockersCheck (Check ):
@@ -1564,8 +1559,7 @@ def feed(self, pkg):
15641559 yield BadHomepage (f"HOMEPAGE={ homepage !r} lacks protocol" , pkg = pkg )
15651560 elif homepage [:i ] not in SrcUriCheck .valid_protos :
15661561 yield BadHomepage (
1567- f"HOMEPAGE={ homepage !r} uses unsupported "
1568- f"protocol { homepage [:i ]!r} " ,
1562+ f"HOMEPAGE={ homepage !r} uses unsupported protocol { homepage [:i ]!r} " ,
15691563 pkg = pkg ,
15701564 )
15711565
0 commit comments