diff --git a/wake_printers/__init__.py b/wake_printers/__init__.py index b2cd0f91e..4de680a05 100644 --- a/wake_printers/__init__.py +++ b/wake_printers/__init__.py @@ -1,4 +1,5 @@ from .abi import AbiPrinter +from .c3_linearization import C3LinearizationPrinter from .control_flow_graph import ControlFlowGraphPrinter from .imports_graph import ImportsGraphPrinter from .inheritance_graph import InheritanceGraphPrinter diff --git a/wake_printers/c3.py b/wake_printers/c3_linearization.py similarity index 97% rename from wake_printers/c3.py rename to wake_printers/c3_linearization.py index 33d23e324..9909348e4 100644 --- a/wake_printers/c3.py +++ b/wake_printers/c3_linearization.py @@ -11,7 +11,7 @@ # C3 linearization printer -class C3Printer(Printer): +class C3LinearizationPrinter(Printer): _interfaces: bool _verbose: bool @@ -74,7 +74,7 @@ def add_contract_to_tree(parent_node, n, index): print(tree) print() - @printer.command(name="c3") + @printer.command(name="c3-linearization") @click.option( "--interfaces", "-i",