fix: DOT renderer quoting in dependency_graph.py (#212)
Some checks failed
Test / pytest (pull_request) Failing after 30s
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:
@@ -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()):
|
||||
|
||||
Reference in New Issue
Block a user