From e7714cd2dfe3da3413c0226f96e053320fe51ea0 Mon Sep 17 00:00:00 2001 From: cswimr Date: Thu, 6 Feb 2025 17:20:21 -0600 Subject: [PATCH] fix(hotreload): fix typehint --- hotreload/hotreload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotreload/hotreload.py b/hotreload/hotreload.py index 579e7db..268a41a 100644 --- a/hotreload/hotreload.py +++ b/hotreload/hotreload.py @@ -60,7 +60,7 @@ class HotReload(commands.Cog): ] return "\n".join(text) - async def get_paths(self) -> Generator[Path]: + async def get_paths(self) -> Generator[Path, None, None]: """Retrieve user defined paths.""" 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()