f-string
used without any expression PTC-W0027f-string
used without any expression 90 package = {}
91 for value in ["name", "version", "created"]:
92 package[value] = snippet.select_one(f'span[class*="{value}"]').text.strip()
93 package['summary'] = snippet.select_one(f'p[class*="description"]').text.strip() 94 packages.append(package)
95
96 return packages
It is wasteful to use f-string
mechanism if there are no expressions to be extrapolated. It is recommended to use regular strings instead.