From d39257cabf34737680031c77e1c1919872f26bab Mon Sep 17 00:00:00 2001 From: James Westman Date: Sat, 4 Nov 2023 15:57:31 -0500 Subject: [PATCH] formatter: Ensure the file ends with one newline --- blueprintcompiler/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprintcompiler/formatter.py b/blueprintcompiler/formatter.py index c907adb..2514b28 100644 --- a/blueprintcompiler/formatter.py +++ b/blueprintcompiler/formatter.py @@ -225,4 +225,4 @@ class Formatter: last_not_whitespace = item - return end_str + return end_str.strip() + "\n"