Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
staciax committed Nov 4, 2024
1 parent fc4c23b commit ac498ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lattebot/core/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async def on_message(self, message: discord.Message, /) -> None:

await self.process_commands(message)

async def on_error(self, event_method: str, /, *_args: Any, **_kwargs: Any) -> None:
async def on_error(self, event_method: str, /, *args: Any, **kwargs: Any) -> None:
log.error('Ignoring exception in %s', event_method)

async def load_extension(self, name: str, *, package: str | None = None) -> None:
Expand Down
2 changes: 1 addition & 1 deletion launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
async def run_bot() -> None:
async with LatteBot() as bot:
try:
from autoreload import Reloader
from autoreload import Reloader # noqa: PLC0415

reloader = Reloader('lattebot/cogs')
reloader.start(bot)
Expand Down

0 comments on commit ac498ce

Please sign in to comment.