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

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:

Fix type: ignore line breaking when there is a destructuring assignment (#1065)
authorMichael J. Sullivan <sully@msully.net>
Tue, 15 Oct 2019 01:15:18 +0000 (18:15 -0700)
committerJelle Zijlstra <jelle.zijlstra@gmail.com>
Tue, 15 Oct 2019 01:15:18 +0000 (18:15 -0700)
commit7b11f04d54d6da117ed5e640fd9420727f07ef81
tree54e58f29eb5a08afc71abe63bc5c4fd18b9f6488
parent788f87cb58dbdb20df8adbb9ab4efaee1c5e00f2
Fix type: ignore line breaking when there is a destructuring assignment (#1065)

It turns out we also need to handle invisible *left* parens added at
the *start* of a line. Refactor `contains_unsplittable_type_ignore` to
handle this more cleanly.
black.py
tests/data/comments6.py