]> git.madduck.net Git - etc/vim.git/commitdiff

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:

Reword comment
authorŁukasz Langa <lukasz@langa.pl>
Mon, 28 Oct 2019 14:31:37 +0000 (15:31 +0100)
committerŁukasz Langa <lukasz@langa.pl>
Mon, 28 Oct 2019 14:31:37 +0000 (15:31 +0100)
black.py

index 00de8d23245e92cc4ee42a9d83c3eda004f54e40..e5a13c672f65217e86854403e3f40a5c55985e16 100644 (file)
--- a/black.py
+++ b/black.py
@@ -2406,8 +2406,8 @@ def split_line(
             # All splits failed, best effort split with no omits.
             # This mostly happens to multiline strings that are by definition
             # reported as not fitting a single line.
-            # line_length=1 is silly, but somehow produces better formatting
-            # than other things we've tried so far. See #762 and #781.
+            # line_length=1 here was historically a bug that somehow became a feature.
+            # See #762 and #781 for the full story.
             yield from right_hand_split(line, line_length=1, features=features)
 
         if line.inside_brackets: