Commit 30a332c3 authored by Łukasz Langa's avatar Łukasz Langa
Browse files

Include mode information for unstable formattings

parent d7aa7f3c
Loading
Loading
Loading
Loading
+1 −0
Changes for src/black/__init__.py: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -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"),
        )