fix: escape quotes in DOT renderer (#212)
Some checks failed
Test / pytest (pull_request) Failing after 13s

Lines 152-153 used unescaped double quotes inside
Python double-quoted string literals. Switched to
single-quoted strings.
This commit is contained in:
2026-04-21 11:20:25 +00:00
parent fe8a70adc1
commit f7c479c4eb

View File

@@ -149,8 +149,8 @@ def to_dot(graph: dict) -> str:
"""Generate DOT format output."""
lines = ["digraph dependencies {"]
lines.append(" rankdir=LR;")
lines.append(" node [shape=box, style=filled, fillcolor="#1a1a2e", fontcolor="#e6edf3"];")
lines.append(" edge [color="#4a4a6a"];")
lines.append(' node [shape=box, style=filled, fillcolor="#1a1a2e", fontcolor="#e6edf3"];')
lines.append(' edge [color="#4a4a6a"];')
lines.append("")
for repo, data in sorted(graph.items()):