X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c0a8e4224360a6917dcb5d889b08d5fdcfaf7c2d..811decd7f10fb2fb3ae343b9d9d0a3ae53b86a53:/src/black/__init__.py diff --git a/src/black/__init__.py b/src/black/__init__.py index 9e18a7d..ffaafe2 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -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.