diff --git a/components/polylith/info/report.py b/components/polylith/info/report.py index dca22612..dfa5e4d7 100644 --- a/components/polylith/info/report.py +++ b/components/polylith/info/report.py @@ -33,20 +33,19 @@ def print_bricks_in_projects( table = Table(box=box.SIMPLE_HEAD) table.add_column("[data]brick[/]") - for project in projects_data: - project_name = project["name"] - table.add_column(f"[proj]{project_name}[/]") + proj_cols = [f"[proj]{project['name']}[/]" for project in projects_data] + table.add_column(Columns(proj_cols, align="center", expand=True)) components = sorted((c["name"] for c in components_data)) bases = sorted((b["name"] for b in bases_data)) for brick in components: cols = [brick_status(brick, p.get("components")) for p in projects_data] - table.add_row(f"[comp]{brick}[/]", Columns(cols)) + table.add_row(f"[comp]{brick}[/]", Columns(cols, align="center", expand=True)) for brick in bases: cols = [brick_status(brick, p.get("bases")) for p in projects_data] - table.add_row(f"[base]{brick}[/]", Columns(cols)) + table.add_row(f"[base]{brick}[/]", Columns(cols, align="center", expand=True)) console.print(table, overflow="ellipsis") diff --git a/projects/poetry_polylith_plugin/pyproject.toml b/projects/poetry_polylith_plugin/pyproject.toml index 2c1cda34..5d672f17 100644 --- a/projects/poetry_polylith_plugin/pyproject.toml +++ b/projects/poetry_polylith_plugin/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "poetry-polylith-plugin" -version = "1.0.2" +version = "1.0.3" description = "A Poetry plugin that adds tooling support for the Polylith Architecture" authors = ["David Vujic"] homepage = "https://github.com/davidvujic/python-polylith"