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

Make black remove leading and trailing spaces from one-line docstrings (#1740)
authorMark Bell <MarkCBell@users.noreply.github.com>
Thu, 22 Apr 2021 15:23:41 +0000 (16:23 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Apr 2021 15:23:41 +0000 (08:23 -0700)
commit1fc3215e8c8856094b20d497e4e0e3e547ed38eb
tree1af9ee99387d79e5d4f626f28137390782747975
parent7b4ca4bd90c148d72548048f5109537a555aaf77
Make black remove leading and trailing spaces from one-line docstrings (#1740)

Fixes #1738. Fixes #1812.

Previously, Black removed leading and trailing spaces in multiline docstrings but failed to remove them from one-line docstrings.
CHANGES.md
src/black/__init__.py
src/black_primer/primer.json
tests/data/docstring.py
tox.ini