From 7debe3d5ecfac02269b933f668ac02bd07f36667 Mon Sep 17 00:00:00 2001 From: Nikos Livathinos Date: Wed, 27 Aug 2025 18:19:52 +0200 Subject: [PATCH] chore: debug_heron.py: Save exported json with pretty format Signed-off-by: Nikos Livathinos --- debug_heron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug_heron.py b/debug_heron.py index a24c8c27..0d15e1ea 100644 --- a/debug_heron.py +++ b/debug_heron.py @@ -85,7 +85,7 @@ def main(): print(f"Out dir: {out_dir}") with open(save_fn, "w") as fd: dd = doc.export_to_dict() - json.dump(dd, fd) + json.dump(dd, fd, indent=2, sort_keys=True) # Move the debug dir debug_dir = Path("debug/")