Skip to content

Commit

Permalink
Ignore Flake8 BaseException lint message
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Feb 23, 2024
1 parent ddcd430 commit bd1ffac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darker/concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd1ffac

Please sign in to comment.