Skip to content

Commit

Permalink
indent AWST JSON files
Browse files Browse the repository at this point in the history
  • Loading branch information
achidlow committed Sep 3, 2024
1 parent 0ddb6c2 commit c7dda60
Show file tree
Hide file tree
Showing 2 changed files with 12,920 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/puya/awst/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def structure_switch_cases(value: object, _: type) -> object:


def awst_to_json(awst: nodes.AWST) -> str:
return _get_converter().dumps(awst)
return _get_converter().dumps(awst, indent=4)


def awst_from_json(json: str) -> nodes.AWST:
Expand Down
12,920 changes: 12,919 additions & 1 deletion src/puya/ir/_puya_lib.awst.json

Large diffs are not rendered by default.

0 comments on commit c7dda60

Please sign in to comment.