diff --git a/src/darker/concurrency.py b/src/darker/concurrency.py index aee058bcd..a496bac59 100644 --- a/src/darker/concurrency.py +++ b/src/darker/concurrency.py @@ -46,7 +46,7 @@ def submit( # type: ignore[override] future = cast(FutureType[T], Future()) try: result = fn(*args, **kwargs) - except BaseException as exc_info: + except BaseException as exc_info: # noqa: B036 future.set_exception(exc_info) else: future.set_result(result)