Print a table to document these component classes. The table contains two columns, one with the component class name and another for the description of what the component class is for. The second column is always empty.
(classes: set[str])
| 35 | |
| 36 | |
| 37 | def print_component_classes(classes: set[str]) -> None: |
| 38 | """Print a table to document these component classes. |
| 39 | |
| 40 | The table contains two columns, one with the component class name and another |
| 41 | for the description of what the component class is for. |
| 42 | The second column is always empty. |
| 43 | """ |
| 44 | if classes: |
| 45 | print("COMPONENT_CLASSES") |
| 46 | print('"""') |
| 47 | print("| Class | Description |") |
| 48 | print("| :- | :- |") |
| 49 | |
| 50 | for cls in sorted(classes): |
| 51 | print(f"| `{cls}` | XXX |") |
| 52 | |
| 53 | if classes: |
| 54 | print('"""') |
| 55 | |
| 56 | |
| 57 | def main() -> None: |
no outgoing calls
no test coverage detected
searching dependent graphs…