Skip to content

Commit da3e2d0

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

executorlib/standalone/interactive/arguments.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ def get_exception_lst(future_lst: list[Future]) -> list:
4444
list: list of exceptions raised by the future objects in the list of future objects. Returns empty list if no
4545
exception was raised.
4646
"""
47-
return [f.exception() for f in future_lst if check_exception_was_raised(future_obj=f)]
47+
return [
48+
f.exception() for f in future_lst if check_exception_was_raised(future_obj=f)
49+
]
4850

4951

5052
def check_exception_was_raised(future_obj: Future) -> bool:
@@ -88,4 +90,4 @@ def get_result(arg: Union[list[Future], Future]) -> Any:
8890

8991
args = tuple([get_result(arg=arg) for arg in args])
9092
kwargs = {key: get_result(arg=value) for key, value in kwargs.items()}
91-
return args, kwargs
93+
return args, kwargs

0 commit comments

Comments
 (0)