one_element_subscript
This commit is contained in:
parent
92370825ce
commit
fc2acb2ed5
@ -290,8 +290,7 @@ def has_magic_trailing_comma(
|
||||
|
||||
if closing.type == token.RSQB:
|
||||
if (
|
||||
Preview.one_element_subscript in self.mode
|
||||
and closing.parent
|
||||
closing.parent
|
||||
and closing.parent.type == syms.trailer
|
||||
and closing.opening_bracket
|
||||
and is_one_sequence_between(
|
||||
|
@ -150,7 +150,6 @@ class Preview(Enum):
|
||||
"""Individual preview style features."""
|
||||
|
||||
long_docstring_quotes_on_newline = auto()
|
||||
one_element_subscript = auto()
|
||||
remove_block_trailing_newline = auto()
|
||||
remove_redundant_parens = auto()
|
||||
string_processing = auto()
|
||||
|
Loading…
Reference in New Issue
Block a user