-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
tabulate is only used at this location:
| from tabulate import tabulate |
for this loop:
gallia/src/gallia/commands/primitive/uds/dtc.py
Lines 153 to 156 in ae67e5d
| for line in tabulate( | |
| [[d] for d in bit_descriptions], headers=["bit descriptions"] | |
| ).splitlines(): | |
| logger.result(line) |
and this one:
gallia/src/gallia/commands/primitive/uds/dtc.py
Lines 163 to 164 in ae67e5d
| for line in tabulate(dtcs, headers=header, tablefmt="fancy_grid").splitlines(): | |
| logger.result(line) |
Can we simplify this and remove the dependency from the open-source code? Do we really need a full-blown table formatting library for this?
Dropping tabulate would simplify packaging for Linux distributions. With Python 3.14 on Linux, we could reduce the runtime dependencies to five. For comparison, gallia was published with ten runtime dependencies in 2022.
/cc @fkglr
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels