From 15c3ff0f774b0ca3abf3a6b92dab19212c3f2b72 Mon Sep 17 00:00:00 2001 From: Antti Kaihola <13725+akaihola@users.noreply.github.com> Date: Sun, 25 Aug 2024 22:10:41 +0300 Subject: [PATCH] fix: add preview in BlackModeAttributes TypedDict --- src/darker/black_diff.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/darker/black_diff.py b/src/darker/black_diff.py index d918dd288..b9c106648 100644 --- a/src/darker/black_diff.py +++ b/src/darker/black_diff.py @@ -87,6 +87,7 @@ class BlackModeAttributes(TypedDict, total=False): string_normalization: bool is_pyi: bool magic_trailing_comma: bool + preview: bool def read_black_config(src: Tuple[str, ...], value: Optional[str]) -> BlackConfig: