Apply black

This commit is contained in:
Daniel Rojas 2025-03-01 19:35:47 +01:00
parent 8f0dbe9e7f
commit fe7f4a3329
2 changed files with 3 additions and 4 deletions

View File

@ -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:

View File

@ -170,9 +170,9 @@ def generate_html_output(
if isinstance(entry, Dict):
replacements[f"<!-- %{item}_{index+1}% -->"] = str(category)
for entry_key, entry_value in entry.items():
replacements[f"<!-- %{item}_{index+1}_{entry_key}% -->"] = (
html_line_breaks(str(entry_value))
)
replacements[
f"<!-- %{item}_{index+1}_{entry_key}% -->"
] = html_line_breaks(str(entry_value))
elif isinstance(entry, (str, int, float)):
pass # TODO?: replacements[f"<!-- %{item}_{category}% -->"] = html_line_breaks(str(entry))