From 30a332c32fabe13d883d86b0422bcded0c91642f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Langa?= Date: Wed, 26 Aug 2020 12:57:05 +0200 Subject: [PATCH] Include mode information for unstable formattings --- src/black/__init__.py | 1 + 1 file changed, 1 insertion(+) 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"), ) -- 2.39.5