> it doesn't work with tabs
What do you mean by this? Are you indenting Python with tabs?
What do you mean by this? Are you indenting Python with tabs?
Instead, only use indentation.
It is interesting to note that Black-formatted code uses indentation only and never uses alignment. It would be perfectly compatible with tabs, unlike Google-formatted code which relies heavily on column alignment.
from application.module.modules import (
Model1, Model2, Model3, Model4, Model5, Model6
)
iSort handles this fine if you're using spaces for indentation. Two or more leading spaces on each line.[1]
[1] https://news.ycombinator.com/formatdoc