Skip to content

Commit 23b97ea

Browse files
committed
indent and sort-keys in graph
1 parent 547a4b6 commit 23b97ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generateGraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def main(command=[]):
8585
graph = create_graph_repos()
8686
if graph is not None and len(graph["nodes"]) > 0:
8787
with open(DATA_FILE, 'w') as f:
88-
json.dump(graph, f)
88+
json.dump(graph, f, indent=1, sort_keys=True)
8989
else:
9090
raise ValueError("Empty graph generated")
9191
update_timestamp()

0 commit comments

Comments
 (0)