Skip to content

Commit 523fbf4

Browse files
committed
fix(core): 💄 fix output formatting
1 parent 1c1a0c4 commit 523fbf4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

rocrate_validator/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2647,7 +2647,7 @@ def detect_rocrate_profiles(self) -> list[Profile]:
26472647
if len(unmatched_profiles) > 0:
26482648
logger.warning(
26492649
"The conformance to the following profiles could not be verified: %s",
2650-
unmatched_profiles,
2650+
", ".join(unmatched_profiles),
26512651
)
26522652
return candidate_profiles
26532653

rocrate_validator/utils/io_helpers/output/text/formatters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __rich_console__(self, console: Console, options: ConsoleOptions) -> RenderR
5858
yield Padding(
5959
f"[bold][{issue_color}][ {check.identifier.center(16)} ][/{issue_color}] "
6060
f"[magenta]{check.name}[/magenta][/bold]:",
61-
(0, 7)
61+
(1, 8, 0, 8)
6262
)
6363
yield Padding(Markdown(check.description), (0, 0, 0, len(check.identifier) + 13))
6464
yield Padding("[u] Detected issues [/u]", (0, 8))
@@ -74,7 +74,7 @@ def __rich_console__(self, console: Console, options: ConsoleOptions) -> RenderR
7474
if issue.violatingEntity:
7575
path = f"{path} on [cyan]<{issue.violatingEntity}>[/cyan]"
7676
yield Padding(f"- [[red]Violation[/red]{path}]: "
77-
f"{Markdown(issue.message).markup}", (0, 9))
77+
f"{Markdown(issue.message).markup}", (0, 9, 1, 9))
7878
if console.no_color:
7979
yield Padding("\n", (0, 0))
8080
yield Padding("\n", (0, 0))

0 commit comments

Comments
 (0)