fix: escape quotes in DOT renderer (#212)
Some checks failed
Test / pytest (pull_request) Failing after 13s
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:
@@ -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