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

Correct max string length calculation when there are string operators (#2292)
authorBryan Bugyi <bryanbugyi34@gmail.com>
Tue, 1 Jun 2021 00:57:23 +0000 (20:57 -0400)
committerGitHub <noreply@github.com>
Tue, 1 Jun 2021 00:57:23 +0000 (17:57 -0700)
commita4e35b314977baae2e930abd24fa1013c7235e39
treea464d53eab4871d90fc6a816f3351a8deb638567
parentcf75673e1a2c993025a2113ce194d5c65f311c85
Correct max string length calculation when there are string operators (#2292)

PR #2286 did not fix the edge-cases (e.g. when the string is just long
enough to cause a line to be 89 characters long). This PR corrects that
mistake.
CHANGES.md
src/black/trans.py
tests/data/long_strings__edge_case.py