From 93274693fd77279e92ee441f75682b31ad1ea951 Mon Sep 17 00:00:00 2001 From: mpariente Date: Wed, 19 Aug 2020 12:21:18 +0200 Subject: [PATCH] Fix W292: Add new line at end of file --- pytorch_lightning/callbacks/model_checkpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/callbacks/model_checkpoint.py b/pytorch_lightning/callbacks/model_checkpoint.py index 2b268d0ec73591..7916d81874764b 100644 --- a/pytorch_lightning/callbacks/model_checkpoint.py +++ b/pytorch_lightning/callbacks/model_checkpoint.py @@ -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) \ No newline at end of file + json.dump(best_k, f, indent=0)