Commit 0cbe19c8 authored by James Addison's avatar James Addison Committed by Łukasz Langa
Browse files

Minimize changes: more closely resemble original conditional logic

parent 22127c63
Loading
Loading
Loading
Loading
+1 −1
Changes for src/black/__init__.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -6658,7 +6658,7 @@ def can_omit_invisible_parens(
            # unnecessary.
            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.
            return True