From bd1ffac480d766f3a69cfcfbfb2945d59db5de9e Mon Sep 17 00:00:00 2001 From: Antti Kaihola <13725+akaihola@users.noreply.github.com> Date: Fri, 23 Feb 2024 12:42:39 +0200 Subject: [PATCH] Ignore Flake8 BaseException lint message --- src/darker/concurrency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)