From 4406b508bff17675c205a75c3a090017fed9ae42 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 2 Feb 2024 12:44:24 -0300 Subject: [PATCH] [Pre-commit] Ignore B308, which is working --- kibot/out_pcb_print.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kibot/out_pcb_print.py b/kibot/out_pcb_print.py index a4586013..ac6c24a7 100644 --- a/kibot/out_pcb_print.py +++ b/kibot/out_pcb_print.py @@ -968,7 +968,7 @@ class PCB_PrintOptions(VariantOptions): logger.debug(' - Found ') for df in child: if df.get('id') not in ['cut-off', 'pads-mask-silkscreen']: - child.remove(df) + child.remove(df) # noqa: B038 elif child.tag.endswith('}g') and child.get('id') == "boardContainer": # Keep the solder mask g = child @@ -979,7 +979,7 @@ class PCB_PrintOptions(VariantOptions): g_mask.set('mask', "url(#pads-mask-silkscreen)") for gf in g_mask: if gf.get('id') != 'substrate-board': - g_mask.remove(gf) + g_mask.remove(gf) # noqa: B038 else: # Apply our color to the solder mask alpha = 1.0