From: LordOfPolls <22540825+LordOfPolls@users.noreply.github.com> Date: Sat, 6 Nov 2021 16:04:27 +0000 (+0000) Subject: Add a missing space in Python 2 deprecation (GH-2590) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/f80f49767cacafaeb20016d483b8315474504e6a?hp=64c8be01f0cfedc94cb1c9ebd342ea77cafbb78a Add a missing space in Python 2 deprecation (GH-2590) `DEPRECATION: Python 2 support will be removed in the first stable releaseexpected in January 2022` - > `DEPRECATION: Python 2 support will be removed in the first stable release expected in January 2022` --- diff --git a/src/black/__init__.py b/src/black/__init__.py index 831cda9..ba4d3de 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -1065,7 +1065,7 @@ def format_str(src_contents: str, *, mode: Mode) -> FileContent: # TODO: fully drop support and this code hopefully in January 2022 :D if TargetVersion.PY27 in mode.target_versions or versions == {TargetVersion.PY27}: msg = ( - "DEPRECATION: Python 2 support will be removed in the first stable release" + "DEPRECATION: Python 2 support will be removed in the first stable release " "expected in January 2022." ) err(msg, fg="yellow", bold=True)