Skip to content

Commit

Permalink
fix jelle nit
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Aug 13, 2022
1 parent f2d349f commit 4cab5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/black/lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def has_magic_trailing_comma(
if comma.parent is None:
return False
if Preview.skip_magic_trailing_comma_in_subscript in self.mode:
return bool(
return (
comma.parent.type != syms.subscriptlist
or closing.opening_bracket is None
or not is_one_sequence_between(
Expand Down

0 comments on commit 4cab5c7

Please sign in to comment.