Does ruff replace isort? Because I'm really unhappy with it, it doesn't work with tabs and conflicts with yapf all the time.
relevant section from my pyproject.toml
[tool.ruff]
line-length = 88
# pyflakes, pycodestyle, isort
select = ["F", "E", "W", "I001"]What do you mean by this? Are you indenting Python with tabs?
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/formatdocInstead, 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.