]> 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:

Avoid magic-trailing-comma in single-element subscripts (#2942)
authorJoe Young <80432516+jpy-git@users.noreply.github.com>
Thu, 24 Mar 2022 02:16:09 +0000 (02:16 +0000)
committerGitHub <noreply@github.com>
Thu, 24 Mar 2022 02:16:09 +0000 (19:16 -0700)
commit3800ebd81df6a1c31d1eac8cc15899537b9cbb61
treed9c4190c9ba53106616c0752760a8f027e8218eb
parent062b54931dc3ea35f673e755893fe28ff1f5a889
Avoid magic-trailing-comma in single-element subscripts (#2942)

Closes #2918.
CHANGES.md
src/black/linegen.py
src/black/lines.py
src/black/mode.py
src/black/nodes.py
tests/data/one_element_subscript.py [new file with mode: 0644]
tests/test_format.py