From ed602405df8e4ddf9e7993e42eea9a5e9afd4856 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 6 May 2023 20:09:19 +0100 Subject: Apply fixes for ruff linting --- pydis_core/utils/cooldown.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pydis_core/utils/cooldown.py') diff --git a/pydis_core/utils/cooldown.py b/pydis_core/utils/cooldown.py index 5129befd..0fe7102a 100644 --- a/pydis_core/utils/cooldown.py +++ b/pydis_core/utils/cooldown.py @@ -26,6 +26,7 @@ _HashableArgsTuple = tuple[Hashable, ...] if typing.TYPE_CHECKING: import typing_extensions + from pydis_core import BotBase P = typing.ParamSpec("P") @@ -34,7 +35,7 @@ R = typing.TypeVar("R") """The command's return value.""" -class CommandOnCooldown(CommandError, typing.Generic[P, R]): +class CommandOnCooldown(CommandError, typing.Generic[P, R]): # noqa: N818 """Raised when a command is invoked while on cooldown.""" def __init__( -- cgit v1.2.3