diff --git a/vppcfg/tests.py b/vppcfg/tests.py index 7958148..fcbc076 100755 --- a/vppcfg/tests.py +++ b/vppcfg/tests.py @@ -44,7 +44,8 @@ def example_validator(_yaml): class YAMLTest(unittest.TestCase): """This test suite takes a YAML configuration file and holds it against the syntax - (Yamale) and semantic validators, returning errors in case of validation failures.""" + (Yamale) and semantic validators, returning errors in case of validation failures. + """ def __init__(self, testName, yaml_filename, yaml_schema): # calling the super class init varies for different python versions. This works for 2.7 diff --git a/vppcfg/vpp/applier.py b/vppcfg/vpp/applier.py index 9934bb8..c160da8 100644 --- a/vppcfg/vpp/applier.py +++ b/vppcfg/vpp/applier.py @@ -125,7 +125,8 @@ class Applier(VPPApi): def lcp_create(self, ifname, host_if_name): """Create a linux control plane interface pair for an interface given by name - (ie GigabitEthernet3/0/0) under a Linux TAP device name host_if_name (ie e3-0-0)""" + (ie GigabitEthernet3/0/0) under a Linux TAP device name host_if_name (ie e3-0-0) + """ pass def set_interface_mac(self, ifname, mac): diff --git a/vppcfg/vpp/reconciler.py b/vppcfg/vpp/reconciler.py index 504b3db..e3d0b7f 100644 --- a/vppcfg/vpp/reconciler.py +++ b/vppcfg/vpp/reconciler.py @@ -181,7 +181,8 @@ class Reconciler: def __prune_bridgedomains(self): """Remove bridge-domains from VPP, if they do not occur in the config. If any interfaces are - found in to-be removed bridge-domains, they are returned to L3 mode, and tag-rewrites removed.""" + found in to-be removed bridge-domains, they are returned to L3 mode, and tag-rewrites removed. + """ for idx, bridge in self.vpp.cache["bridgedomains"].items(): bridgename = f"bd{int(idx)}" _config_ifname, config_iface = bridgedomain.get_by_name(