fix(hotreload): ruff fix
This commit is contained in:
parent
0b60a2df66
commit
2543563af1
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class HotReload(commands.Cog):
|
|||
|
||||
async def get_paths(self) -> tuple[Path]:
|
||||
"""Retrieve user defined paths."""
|
||||
cog_manager = self.bot._cog_mgr
|
||||
cog_manager = self.bot._cog_mgr # noqa: SLF001 # We have to use this private method because there is no public API to get user defined paths
|
||||
cog_paths = await cog_manager.user_defined_paths()
|
||||
return (Path(path) for path in cog_paths)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue