Skip to content

Commit

Permalink
Follow black coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
ldevillez authored Oct 9, 2023
1 parent d9f1e5e commit f85c35f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion svg2tikz/tikz_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,11 @@ def style_to_tz(self, node=None):
options = []

# Stroke and fill
for use_path in ([("fill", "text")] if node.TAG=="text" else [("stroke", "draw"), ("fill", "fill")]):
for use_path in (
[("fill", "text")]
if node.TAG=="text"
else [("stroke", "draw"), ("fill", "fill")]
):
value = style.get(use_path[0])
if value != "none" and value is not None:
options.append(
Expand Down

0 comments on commit f85c35f

Please sign in to comment.