Skip to content

Commit b3387c9

Browse files
committed
Add indent to the dump for better diff
1 parent ad39ef8 commit b3387c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

irrelevant/notebook_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def convert_to_notebook(pre_examples_content, parsed_json, post_examples_content
296296

297297
#pprint.pprint(result, indent=2)
298298
with open(notebook_path, "w") as f:
299-
json.dump(result, f)
299+
json.dump(result, f, indent=2)
300300

301301

302302
with open(fpath, 'r+', encoding="utf-8") as f:

0 commit comments

Comments
 (0)