]> 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 instability due to trailing comma logic (#2572)
authorNipunn Koorapati <nipunn1313@gmail.com>
Sat, 29 Jan 2022 02:13:18 +0000 (18:13 -0800)
committerGitHub <noreply@github.com>
Sat, 29 Jan 2022 02:13:18 +0000 (18:13 -0800)
commita24e1f795975350f7b1d8898d831916a9f6dbc6a
tree33b775181600e09acfe61a429cbd30813cbe2996
parent95e77cb5590a1499d3aa4cf7fe60481347191c35
Fix instability due to trailing comma logic (#2572)

It was causing stability issues because the first pass
could cause a "magic trailing comma" to appear, meaning
that the second pass might get a different result. It's
not critical.

Some things format differently (with extra parens)
CHANGES.md
src/black/__init__.py
src/black/linegen.py
src/black/lines.py
src/black/nodes.py
tests/data/function_trailing_comma.py
tests/data/long_strings_flag_disabled.py
tests/data/torture.py
tests/data/trailing_comma_optional_parens1.py
tests/data/trailing_comma_optional_parens2.py
tests/data/trailing_comma_optional_parens3.py