Skip to content

Commit 34b8304

Browse files
committed
autopep8
1 parent 0395a10 commit 34b8304

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

watch/watch.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, **kwargs):
4848
def _find_return_type(func):
4949
for line in pydoc.getdoc(func).splitlines():
5050
if line.startswith(PYDOC_RETURN_LABEL):
51-
return line[len(PYDOC_RETURN_LABEL) :].strip()
51+
return line[len(PYDOC_RETURN_LABEL):].strip()
5252
return ""
5353

5454

@@ -177,7 +177,8 @@ def stream(self, func, *args, **kwargs):
177177
retry_after_410 = True
178178
break
179179
else:
180-
reason = "%s: %s" % (obj["reason"], obj["message"])
180+
reason = "%s: %s" % (
181+
obj["reason"], obj["message"])
181182
raise client.rest.ApiException(
182183
status=obj["code"], reason=reason
183184
)

0 commit comments

Comments
 (0)