From dde2a5f41c6d2197e2799ba274a571012b62c978 Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Tue, 7 Apr 2026 18:54:05 +0200 Subject: [PATCH] Reformat with black --- vppcfg/vpp/planner_sync.py | 4 +++- vppcfg/vpp/vppapi.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/vppcfg/vpp/planner_sync.py b/vppcfg/vpp/planner_sync.py index bf1a886..a5beca1 100644 --- a/vppcfg/vpp/planner_sync.py +++ b/vppcfg/vpp/planner_sync.py @@ -327,7 +327,9 @@ class PlannerSyncOperations(PlannerBase): # pylint: disable=too-few-public-meth """Synchronize the VPP Dataplane max frame size (link MTU), where 'shrink' determines the direction (if shrink is True, go from inner-most (QinQ) to outer-most (untagged), and the other direction if shrink is False""" - lcp_tap_sw_if_indexes = {lcp.host_sw_if_index for lcp in self.vpp.cache["lcps"].values()} + lcp_tap_sw_if_indexes = { + lcp.host_sw_if_index for lcp in self.vpp.cache["lcps"].values() + } for _idx, vpp_iface in self.vpp.cache["interfaces"].items(): if vpp_iface.sub_number_of_tags != 0: continue diff --git a/vppcfg/vpp/vppapi.py b/vppcfg/vpp/vppapi.py index 68e73c6..d2b74c5 100644 --- a/vppcfg/vpp/vppapi.py +++ b/vppcfg/vpp/vppapi.py @@ -508,7 +508,9 @@ class VPPApi: def get_phys(self): """Return all interfaces for which the super interface has the same sw_if_index and aren't known to be virtual interfaces""" - lcp_tap_sw_if_indexes = {lcp.host_sw_if_index for lcp in self.cache["lcps"].values()} + lcp_tap_sw_if_indexes = { + lcp.host_sw_if_index for lcp in self.cache["lcps"].values() + } phys = [ self.cache["interfaces"][x].interface_name for x in self.cache["interfaces"]