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

Don't (ever) put a single-char closing docstring quote on a new line (#3166)
authorRichard Si <63936253+ichard26@users.noreply.github.com>
Thu, 14 Jul 2022 02:26:05 +0000 (22:26 -0400)
committerGitHub <noreply@github.com>
Thu, 14 Jul 2022 02:26:05 +0000 (22:26 -0400)
commit4f0532d6f0d030799223453195069a282e111c8b
tree52198fe2e8daa46b681e4f7707b81a891fcae956
parent18c17bea757dc88d0b6d2be6e99a4ebcc18e288c
Don't (ever) put a single-char closing docstring quote on a new line (#3166)

Doing so is invalid. Note this only fixes the preview style since the
logic putting closing docstring quotes on their own line if they violate
the line length limit is quite new.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
CHANGES.md
src/black/linegen.py
tests/data/preview/docstring_preview.py