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