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

Stop stripping parens in even more illegal spots (#2148)
authorRichard Si <63936253+ichard26@users.noreply.github.com>
Mon, 26 Apr 2021 20:26:43 +0000 (16:26 -0400)
committerGitHub <noreply@github.com>
Mon, 26 Apr 2021 20:26:43 +0000 (22:26 +0200)
commitb55ea63ff4858109fe4606a6caafb03fda946743
tree21ff110a5b03862c4d4f48d59828ab6c633ac137
parenta0b4e609a7393fac11ecc94eb859c1e85b540036
Stop stripping parens in even more illegal spots (#2148)

We're only fixing them so fuzzers don't yell at us when we break "valid"
code. I mean "valid" because some of the examples aren't even accepted by
Python.
src/black/__init__.py
tests/data/pep_572_do_not_remove_parens.py [new file with mode: 0644]
tests/data/pep_572_remove_parens.py
tests/test_black.py