Skip to content

Commit

Permalink
chore: update to latest ruff (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
jd authored Mar 2, 2024
1 parent bfa2c80 commit 06c34a2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tenacity/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,7 @@ def __repr__(self) -> str:


@t.overload
def retry(func: WrappedFn) -> WrappedFn:
...
def retry(func: WrappedFn) -> WrappedFn: ...


@t.overload
Expand All @@ -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:
Expand Down

0 comments on commit 06c34a2

Please sign in to comment.