Skip to content

Commit

Permalink
Remove vertical borders for easier copying
Browse files Browse the repository at this point in the history
  • Loading branch information
pederhan committed Jun 23, 2024
1 parent 4ff9592 commit 227685c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from itertools import zip_longest
from typing import Any, Iterable

from rich import box
from rich.console import Console, Group
from rich.markup import escape
from rich.panel import Panel
Expand Down Expand Up @@ -98,7 +99,7 @@ def get_diff(expected: list[str], result: list[str]) -> Group:
"""Print a diff between two lists of strings."""
gen = difflib.ndiff(expected, result)
lines = fmt_lines(gen)
return Group(DIFF_HEADER, Panel(lines))
return Group(DIFF_HEADER, Panel(lines, box=box.HORIZONTALS))


class Choice(StrEnum):
Expand Down

0 comments on commit 227685c

Please sign in to comment.