diff --git a/kaioretry/decorator.py b/kaioretry/decorator.py index 7593a59..a797744 100644 --- a/kaioretry/decorator.py +++ b/kaioretry/decorator.py @@ -226,12 +226,12 @@ def wrapped(*args: FuncParam.args, @overload def aioretry(self, func: AwaitableFunc[FuncParam, FuncRetVal]) \ -> AioretryCoro[FuncParam, FuncRetVal]: - ... + ... # pragma: nocover @overload def aioretry(self, func: Callable[FuncParam, FuncRetVal]) \ -> AioretryCoro[FuncParam, FuncRetVal]: - ... + ... # pragma: nocover def aioretry(self, func: AnyFunction[FuncParam, FuncRetVal]) \ -> AioretryCoro[FuncParam, FuncRetVal]: diff --git a/kaioretry/types.py b/kaioretry/types.py index 23a0b68..6eaf63c 100644 --- a/kaioretry/types.py +++ b/kaioretry/types.py @@ -58,12 +58,12 @@ class AioretryProtocol(Protocol): @overload def __call__(self, func: AwaitableFunc[FuncParam, FuncRetVal]) \ -> AioretryCoro[FuncParam, FuncRetVal]: - ... + ... # pragma: nocover @overload def __call__(self, func: Callable[FuncParam, FuncRetVal]) \ -> AioretryCoro[FuncParam, FuncRetVal]: - ... + ... # pragma: nocover def __call__(self, func: AnyFunction[FuncParam, FuncRetVal]) \ -> AioretryCoro[FuncParam, FuncRetVal]: