]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Ignore typing error around Node/Leaf
authorŁukasz Langa <lukasz@langa.pl>
Fri, 23 Mar 2018 06:22:46 +0000 (23:22 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Fri, 23 Mar 2018 06:22:46 +0000 (23:22 -0700)
black.py

index 7935cdcebb8f721a4fc024106430710962b9e400..e39cf7d7fbbf3c3631603fd7e27267ea9cf3ad59 100644 (file)
--- 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