mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
style: apply ruff format to drawing builder files
This commit is contained in:
3 files changed
+7
-9
No files matched your search
@@ -203,7 +203,7 @@ def build_rectangle_svg(
|
||||
|
||||
svg = (
|
||||
f'<svg height="{height}" width="{width}">'
|
||||
f'<rect {_style_attrs(fill, fill_opacity, stroke, stroke_width, dash)} '
|
||||
f"<rect {_style_attrs(fill, fill_opacity, stroke, stroke_width, dash)} "
|
||||
f'height="{height}" width="{width}" rx="{rx}" ry="{rx}"/></svg>'
|
||||
)
|
||||
ET.fromstring(svg)
|
||||
@@ -241,7 +241,7 @@ def build_ellipse_svg(
|
||||
|
||||
svg = (
|
||||
f'<svg height="{2 * ry}" width="{2 * rx}">'
|
||||
f'<ellipse {_style_attrs(fill, fill_opacity, stroke, stroke_width, dash)} '
|
||||
f"<ellipse {_style_attrs(fill, fill_opacity, stroke, stroke_width, dash)} "
|
||||
f'cx="{rx}" cy="{ry}" rx="{rx}" ry="{ry}"/></svg>'
|
||||
)
|
||||
ET.fromstring(svg)
|
||||
|
||||
Reference in new issue
Block a user