Skip to content

Commit 5b9db12

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2b254c9 commit 5b9db12

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/executorlib/standalone/batched.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def batched_futures(
3131
if len(done_lst) == n_expected:
3232
return True, done_lst
3333
if (len(lst) - len(skip_set)) == len(failed_lst):
34-
return False, failed_lst[:n_expected] # raise the exception only after all futures have failed
34+
return False, failed_lst[
35+
:n_expected
36+
] # raise the exception only after all futures have failed
3537
else:
3638
return True, []

0 commit comments

Comments
 (0)