Minimize changes: more closely resemble original conditional logic
This commit is contained in:
parent
22127c633e
commit
0cbe19c813
@ -6658,7 +6658,7 @@ def can_omit_invisible_parens(
|
|||||||
# unnecessary.
|
# unnecessary.
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if penultimate.type == token.COMMA:
|
if line.magic_trailing_comma and penultimate.type == token.COMMA:
|
||||||
# The rightmost non-omitted bracket pair is the one we want to explode on.
|
# The rightmost non-omitted bracket pair is the one we want to explode on.
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user