Skip to content

Commit

Permalink
fix: add preview in BlackModeAttributes TypedDict
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Aug 27, 2024
1 parent a3b647e commit 15c3ff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/darker/black_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 15c3ff0

Please sign in to comment.