style(repo): ruff fixes
This commit is contained in:
parent
9df7f15bbe
commit
ea5f51892a
7 changed files with 39 additions and 38 deletions
|
@ -105,5 +105,5 @@ class HotReloadHandler(RegexMatchingEventHandler):
|
|||
"""Reload modified cog."""
|
||||
core_logic = CoreLogic(bot=self.bot)
|
||||
self.logger.info("Reloading cogs: %s", humanize_list(cog_names, style="unit"))
|
||||
await core_logic._reload(pkg_names=cog_names)
|
||||
await core_logic._reload(pkg_names=cog_names) # noqa: SLF001 # We have to use this private method because there is no public API to reload other cogs
|
||||
self.logger.info("Reloaded cogs: %s", humanize_list(cog_names, style="unit"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue