# Pre-commit actions

This commit is contained in:
Charlie Crane
2025-02-14 11:39:25 +00:00
parent 7e138d1d61
commit 7b80d15d81
5 changed files with 5 additions and 8 deletions

View File

@@ -163,7 +163,6 @@ class Network(SimComponent):
:param links: Include link details in the output. Defaults to True.
:param markdown: Use Markdown style in table output. Defaults to False.
"""
if nodes:
table = PrettyTable(["Node", "Type", "Operating State"])
if markdown:
@@ -192,8 +191,8 @@ class Network(SimComponent):
port.ip_address,
port.subnet_mask,
node.config.default_gateway,
]
)
]
)
print(table)
if links:

View File

@@ -20,7 +20,6 @@ from primaite.utils.validation.port import Port
if TYPE_CHECKING:
from primaite.simulator.system.core.software_manager import SoftwareManager
from primaite.simulator.network.hardware.base import Node
class SoftwareType(Enum):