Formatter: combine two if conditions into one line

This commit is contained in:
gregorni 2023-08-08 16:50:19 +02:00
parent 97f07b3ca8
commit 47b7ee8986

View file

@ -74,8 +74,7 @@ class Format:
last_not_whitespace = item last_not_whitespace = item
else: elif tokenized_str == tokenized_str.strip():
if tokenized_str == tokenized_str.strip():
tokenized_str += " " tokenized_str += " "
print(tokenized_str) # TODO: Remove this when the MR is ready to be merged print(tokenized_str) # TODO: Remove this when the MR is ready to be merged