From: Ɓukasz Langa Date: Fri, 23 Mar 2018 06:22:46 +0000 (-0700) Subject: Ignore typing error around Node/Leaf X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/7bd6f3cb2ff11d385dbe433e2b03e9f7c94be33e?ds=inline Ignore typing error around Node/Leaf --- diff --git a/black.py b/black.py index 7935cdc..e39cf7d 100644 --- a/black.py +++ b/black.py @@ -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