From: Ɓukasz Langa Date: Wed, 26 Aug 2020 10:57:05 +0000 (+0200) Subject: Include mode information for unstable formattings X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/30a332c32fabe13d883d86b0422bcded0c91642f Include mode information for unstable formattings --- diff --git a/src/black/__init__.py b/src/black/__init__.py index 4d4f4b7..200e31f 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -6163,6 +6163,7 @@ def assert_stable(src: str, dst: str, mode: Mode) -> None: newdst = format_str(dst, mode=mode) if dst != newdst: log = dump_to_file( + str(mode), diff(src, dst, "source", "first pass"), diff(dst, newdst, "first pass", "second pass"), )