]> 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 a magical comment caused internal error (#3740)
authorrdrll <13176405+rdrll@users.noreply.github.com>
Tue, 27 Jun 2023 14:23:39 +0000 (07:23 -0700)
committerGitHub <noreply@github.com>
Tue, 27 Jun 2023 14:23:39 +0000 (07:23 -0700)
commit63481bb9264a8c3756577089414d222da9c7fab0
tree57e9920f8b7bd8aa7912107d34770d632d7cd63e
parent31b3b6701d2cfae072900f9d45dc8f1737ab282b
Fix a magical comment caused internal error (#3740)

`is_type_comment` now specifically deals with general type comments for a leaf.
`is_type_ignore_comment` now handles type comments contains ignore annotation for a leaf
`is_type_ignore_comment_string` used to determine if a string is an ignore type comment
CHANGES.md
src/black/linegen.py
src/black/lines.py
src/black/nodes.py
tests/data/simple_cases/multiline_consecutive_open_parentheses_ignore.py [new file with mode: 0644]