From 06c34a281699491efc6c6edd1c334d0f77c02e3c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 2 Mar 2024 08:36:49 +0100 Subject: [PATCH] chore: update to latest ruff (#448) --- tenacity/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tenacity/__init__.py b/tenacity/__init__.py index dc8dfbc..bcee3f5 100644 --- a/tenacity/__init__.py +++ b/tenacity/__init__.py @@ -588,8 +588,7 @@ def __repr__(self) -> str: @t.overload -def retry(func: WrappedFn) -> WrappedFn: - ... +def retry(func: WrappedFn) -> WrappedFn: ... @t.overload @@ -604,8 +603,7 @@ def retry( reraise: bool = False, retry_error_cls: t.Type["RetryError"] = RetryError, retry_error_callback: t.Optional[t.Callable[["RetryCallState"], t.Any]] = None, -) -> t.Callable[[WrappedFn], WrappedFn]: - ... +) -> t.Callable[[WrappedFn], WrappedFn]: ... def retry(*dargs: t.Any, **dkw: t.Any) -> t.Any: