Loading black.py +3 −1 Changes for black.py: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -2088,7 +2088,9 @@ def max_delimiter_priority_in_atom(node: LN) -> int: first = node.children[0] last = node.children[-1] if first.type == token.LPAR and last.type == token.RPAR: if not (first.type == token.LPAR and last.type == token.RPAR): return 0 bt = BracketTracker() for c in node.children[1:-1]: if isinstance(c, Leaf): Loading Loading
black.py +3 −1 Changes for black.py: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -2088,7 +2088,9 @@ def max_delimiter_priority_in_atom(node: LN) -> int: first = node.children[0] last = node.children[-1] if first.type == token.LPAR and last.type == token.RPAR: if not (first.type == token.LPAR and last.type == token.RPAR): return 0 bt = BracketTracker() for c in node.children[1:-1]: if isinstance(c, Leaf): Loading