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

Fix typo in docstring (#1700)
authorDaniel <61800298+ffe4@users.noreply.github.com>
Sun, 13 Sep 2020 15:59:18 +0000 (17:59 +0200)
committerGitHub <noreply@github.com>
Sun, 13 Sep 2020 15:59:18 +0000 (08:59 -0700)
Added a missing preposition

src/black/__init__.py

index 9e18a7d904b3c3f11a7c15eef7f3e160029e3cb0..ffaafe23f9e74afbf624e7320460768a600c885b 100644 (file)
@@ -925,7 +925,7 @@ def format_stdin_to_stdout(
 
 
 def format_file_contents(src_contents: str, *, fast: bool, mode: Mode) -> FileContent:
-    """Reformat contents a file and return new contents.
+    """Reformat contents of a file and return new contents.
 
     If `fast` is False, additionally confirm that the reformatted code is
     valid by calling :func:`assert_equivalent` and :func:`assert_stable` on it.