Skip to content

Commit bb5a7c4

Browse files
benjefferymergify[bot]
authored andcommitted
Indent json
1 parent e1c61cc commit bb5a7c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsinfer/inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ def common_params(self) -> dict:
946946

947947
def save(self, path):
948948
with open(path, "w") as f:
949-
json.dump(dataclasses.asdict(self), f)
949+
json.dump(dataclasses.asdict(self), f, indent=2)
950950

951951
@classmethod
952952
def load(cls, path):

0 commit comments

Comments
 (0)