Skip to content

Commit 139e932

Browse files
committed
fix rich table
1 parent a9be84d commit 139e932

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_requirements():
2929

3030

3131
PACKAGE_NAME = "vcpkg-sbom"
32-
VERSION = "0.0.3"
32+
VERSION = "0.0.4"
3333
AUTHOR = "Moverse P.C."
3434
EMAIL = "info@moverse.ai"
3535
LICENSE = "MIT"

vcpkg_sbom/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import spdx_tools.spdx.validation.uri_validators
2020
import spdx_tools.spdx.writer.write_anything
2121
import toolz
22+
from rich.table import Table as RichTable
2223

2324

2425
# NOTE: from https://github.com/Textualize/rich/discussions/482
@@ -32,7 +33,7 @@ def __init__(self, table_max_rows: int, name: str, *args, **kwargs) -> None:
3233
def update_table(self, result: typing.Optional[typing.Tuple[str]] = None):
3334
if result is not None:
3435
self.results.append(result)
35-
table = rich.Table()
36+
table = RichTable()
3637
table.add_column("ID")
3738
table.add_column(self.name, width=80)
3839

0 commit comments

Comments
 (0)