Commit 7bd6f3cb authored by Łukasz Langa's avatar Łukasz Langa
Browse files

Ignore typing error around Node/Leaf

parent 6316e293
Loading
Loading
Loading
Loading
+1 −1
Changes for black.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -922,7 +922,7 @@ def whitespace(leaf: Leaf) -> str: # noqa C901
            and prevp.parent.type == syms.shift_expr
            and prevp.prev_sibling
            and prevp.prev_sibling.type == token.NAME
            and prevp.prev_sibling.value == 'print'
            and prevp.prev_sibling.value == 'print'  # type: ignore
        ):
            # Python 2 print chevron
            return NO