Skip to content

Commit fe7f4a3

Browse files
committed
Apply black
1 parent 8f0dbe9 commit fe7f4a3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/wireviz/wv_graphviz.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def gv_additional_component_table(component):
114114

115115
rows = []
116116
for subitem in component.additional_components:
117-
118117
if subitem.explicit_qty:
119118
text_qty, unit_qty = subitem.qty_computed, "x"
120119
if subitem.amount_computed is not None:

src/wireviz/wv_output.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ def replacement_if_used(key: str, func: Callable[[], str]) -> None:
170170
if isinstance(entry, Dict):
171171
replacements[f"<!-- %{item}_{index+1}% -->"] = str(category)
172172
for entry_key, entry_value in entry.items():
173-
replacements[f"<!-- %{item}_{index+1}_{entry_key}% -->"] = (
174-
html_line_breaks(str(entry_value))
175-
)
173+
replacements[
174+
f"<!-- %{item}_{index+1}_{entry_key}% -->"
175+
] = html_line_breaks(str(entry_value))
176176
elif isinstance(entry, (str, int, float)):
177177
pass # TODO?: replacements[f"<!-- %{item}_{category}% -->"] = html_line_breaks(str(entry))
178178

0 commit comments

Comments
 (0)