Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit e7677e8

Browse files
committed
Make flake8 happy with line lengths
1 parent 32e9223 commit e7677e8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

backoff/_async.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ async def retry(*args, **kwargs):
168168
await _call_handlers(on_giveup, **details, exception=e)
169169
raise e
170170

171-
await _call_handlers(on_backoff, **details, wait=seconds, exception=e)
171+
await _call_handlers(on_backoff, **details, wait=seconds,
172+
exception=e)
172173

173174
# Note: there is no convenient way to pass explicit event
174175
# loop to decorator, so here we assume that either default

backoff/_sync.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ def retry(*args, **kwargs):
121121
_call_handlers(on_giveup, **details, exception=e)
122122
raise e
123123

124-
_call_handlers(on_backoff, **details, wait=seconds, exception=e)
124+
_call_handlers(on_backoff, **details, wait=seconds,
125+
exception=e)
125126

126127
time.sleep(seconds)
127128
else:

0 commit comments

Comments
 (0)