fix: DOT renderer quoting in dependency_graph.py (#212)
Some checks failed
Test / pytest (pull_request) Failing after 30s

Changed double quotes to single quotes for strings containing
double-quote characters in DOT output.

Lines 152-153: "..." -> '...'

Fixes SyntaxError: '(' was never closed
This commit is contained in:
Alexander Whitestone
2026-04-21 07:22:47 -04:00
parent fe8a70adc1
commit ec0e9d65ca

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()):