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

Use properly renamed function name in docs
authorŁukasz Langa <lukasz@langa.pl>
Fri, 21 Aug 2020 13:46:00 +0000 (15:46 +0200)
committerŁukasz Langa <lukasz@langa.pl>
Fri, 21 Aug 2020 14:45:30 +0000 (16:45 +0200)
docs/reference/reference_functions.rst
src/black/__init__.py

index 1beecc1032550cc4e122aff1e22db6bf3ed02d38..a7184115c9454a889ed31d8860fdb1327aa43162 100644 (file)
@@ -171,7 +171,7 @@ Utilities
 
 .. autofunction:: black.re_compile_maybe_verbose
 
-.. autofunction:: black.should_explode
+.. autofunction:: black.should_split_body_explode
 
 .. autofunction:: black.shutdown
 
index 8d0c70f06c7d9561dbc50d6fd48bbbe05d29f4c1..faa88b38af7119fc408bf16e4237f12aa4319e5f 100644 (file)
@@ -5559,7 +5559,7 @@ def ensure_visible(leaf: Leaf) -> None:
 
 
 def should_split_body_explode(line: Line, opening_bracket: Leaf) -> bool:
-    """Should `line` immediately be split with `delimiter_split()` after RHS?"""
+    """Should `line` be immediately split with `delimiter_split()` after RHS?"""
 
     if not (opening_bracket.parent and opening_bracket.value in "[{("):
         return False