mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
formatter.py: Remove some newlines again
Due to black formatter
This commit is contained in:
parent
1e33f208dd
commit
1933529f09
1 changed files with 0 additions and 2 deletions
|
@ -31,9 +31,7 @@ class Format:
|
||||||
tokenized_str = ""
|
tokenized_str = ""
|
||||||
|
|
||||||
for index, item in enumerate(tokens):
|
for index, item in enumerate(tokens):
|
||||||
|
|
||||||
if item.type != tokenizer.TokenType.WHITESPACE:
|
if item.type != tokenizer.TokenType.WHITESPACE:
|
||||||
|
|
||||||
if str(item) in opening_tokens:
|
if str(item) in opening_tokens:
|
||||||
indent_levels += 1
|
indent_levels += 1
|
||||||
elif str(item) in closing_tokens:
|
elif str(item) in closing_tokens:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue