From fe7f4a332932f4f4982ee67914202b37bed36251 Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Sat, 1 Mar 2025 19:35:47 +0100 Subject: [PATCH] Apply black --- src/wireviz/wv_graphviz.py | 1 - src/wireviz/wv_output.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/wireviz/wv_graphviz.py b/src/wireviz/wv_graphviz.py index a9b762f..60d89ed 100644 --- a/src/wireviz/wv_graphviz.py +++ b/src/wireviz/wv_graphviz.py @@ -114,7 +114,6 @@ def gv_additional_component_table(component): rows = [] for subitem in component.additional_components: - if subitem.explicit_qty: text_qty, unit_qty = subitem.qty_computed, "x" if subitem.amount_computed is not None: diff --git a/src/wireviz/wv_output.py b/src/wireviz/wv_output.py index 305f4de..803d886 100644 --- a/src/wireviz/wv_output.py +++ b/src/wireviz/wv_output.py @@ -170,9 +170,9 @@ def generate_html_output( if isinstance(entry, Dict): replacements[f""] = str(category) for entry_key, entry_value in entry.items(): - replacements[f""] = ( - html_line_breaks(str(entry_value)) - ) + replacements[ + f"" + ] = html_line_breaks(str(entry_value)) elif isinstance(entry, (str, int, float)): pass # TODO?: replacements[f""] = html_line_breaks(str(entry))