From 01f67c3f479b48219b526953c485aac1dc83f44c Mon Sep 17 00:00:00 2001 From: gregorni Date: Tue, 8 Aug 2023 17:04:29 +0200 Subject: [PATCH] Formatter.py: run black --- blueprintcompiler/formatter.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blueprintcompiler/formatter.py b/blueprintcompiler/formatter.py index 81febf6..f6f4937 100644 --- a/blueprintcompiler/formatter.py +++ b/blueprintcompiler/formatter.py @@ -55,7 +55,9 @@ class Format: indent_levels += 1 elif item_as_string in CLOSING_TOKENS: indent_levels -= 1 - tokenized_str = tokenized_str.strip() + "\n" + (indent_levels * " ") + tokenized_str = ( + tokenized_str.strip() + "\n" + (indent_levels * " ") + ) if item_as_string in WHITESPACE_BEFORE: tokenized_str = tokenized_str.strip() + " "