Fix formatting with use_tabs=True.
There are two issues when setting use_tabs=True:
1) The indent_width then makes no sense as a single tab per indentation is
always desired.
2) Aligning things vertically after the indentation should never be done with
tabs. The current setting assumes that a tab has the same width as a a single
space and breaks the following code spectacularly:
def test():
my_module.call_function("1234567890", "1234567890", "1234567890", "1234567890", "1234567890")
For example, clang-format still uses spaces for vertical alignment when using
tabs for indentation.
2 files changed