style(seautils): ruff fix
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 44s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 49s

This commit is contained in:
cswimr 2025-01-26 14:16:46 +00:00
parent 65cfafc7b3
commit 59d33ea87d
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -76,7 +76,7 @@ class SeaUtils(commands.Cog):
@commands.command(aliases=["source", "src", "code", "showsource"])
@commands.is_owner()
async def showcode(self, ctx: commands.Context, *, object: str) -> None: # pylint: disable=redefined-builtin
async def showcode(self, ctx: commands.Context, *, object: str) -> None: # pylint: disable=redefined-builtin # noqa: A002
"""Show the code for a particular object."""
try:
if object.startswith("/") and (obj := ctx.bot.tree.get_command(object[1:])):