#2453 - Corrected flake8 linting errors ahead of creating PR, after finally managing to get it to run locally. This should now be ready for review

This commit is contained in:
Charlie Crane
2024-04-09 13:56:21 +01:00
parent d02b12d1e5
commit 8e6689d881
2 changed files with 3 additions and 2 deletions

View File

@@ -322,7 +322,7 @@ class HostNode(Node):
Return the ARP Cache of the HostNode.
:return: ARP Cache for given HostNode
:rtype: Optional[ARP]
:rtype: Optional[ARP]
"""
return self.software_manager.software.get("ARP")

View File

@@ -5,6 +5,7 @@ from primaite.simulator.network.hardware.base import NetworkInterface, Node
from primaite.simulator.network.transmission.data_link_layer import Frame
from primaite.simulator.system.services.arp.arp import ARP
class NetworkNode(Node):
"""
Represents an abstract base class for a network node that can receive and process network frames.
@@ -36,6 +37,6 @@ class NetworkNode(Node):
Return the ARP Cache of the NetworkNode.
:return: ARP Cache for given NetworkNode
:rtype: Optional[ARP]
:rtype: Optional[ARP]
"""
return self.software_manager.software.get("ARP")