Skip to content

Commit

Permalink
Fix W292: Add new line at end of file
Browse files Browse the repository at this point in the history
  • Loading branch information
mpariente authored and Borda committed Sep 25, 2020
1 parent de89e0a commit 9327469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/callbacks/model_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,4 +474,4 @@ def to_json(self, save_path=None):
if save_path is None:
save_path = os.path.join(self.dirpath, "best_k_models.json")
with open(save_path, "w") as f:
json.dump(best_k, f, indent=0)
json.dump(best_k, f, indent=0)

0 comments on commit 9327469

Please sign in to comment.