Commit 64ac9adb authored by Jacek Sowiński's avatar Jacek Sowiński

Remove trailing whitespace when formatting is done

parent ce423fe6
......@@ -218,5 +218,5 @@ class PrettyPrinterFormatFilter(PrettyPrinterFilter):
p_todo_str = re.sub(pattern, strip_braces, p_todo_str)
p_todo_str = re.sub(r'%{}'.format(placeholder), repl, p_todo_str)
return p_todo_str
return p_todo_str.rstrip()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment