f-string
used without any expression PTC-W0027f-string
used without any expression 24 api_id=self.config.get('pyrogram', 'api_id'),
25 api_hash=self.config.get('pyrogram', 'api_hash'),
26 app_version=self.version,
27 plugins=dict(root=f"userbot/plugins"), 28 workdir="./config",
29 )
30
f-string
used without any expression270 disable_web_page_preview = False
271
272 await message.edit(
273 f"You\'d think so, but this says <a href='https://i.imgur.com/nzncews.jpg'>otherwise</a>.",274 disable_web_page_preview=disable_web_page_preview
275 )
276
f-string
used without any expression73add_command_help(
74 "animu",
75 [
76 [".animu-quote", f"Send a random anime quote"]77 ],
78)
It is wasteful to use f-string
mechanism if there are no expressions to be extrapolated. It is recommended to use regular strings instead.