Add `autopep8` to the tools
kytta opened this issue · 2 comments
kytta commented
I use autopep8
as formatter (don't judge), and it gets pushed at the very end of my pyproject.toml. I expect it to be a bit higher. My guess is that I need to adjust the fmt_tools()
method and place it somewhere close to black
.
Speaking of it, how do the tools get their sorting order. They're not alphabetical, but categorical? If so, why is Ruff (linter) above isort (formatter)?
pyproject-fmt/src/pyproject_fmt/formatter/tools.py
Lines 29 to 41 in 86892df
gaborbernat commented
PR welcome.
gaborbernat commented
If so, why is Ruff (linter) above isort (formatter)?
ruff has auto-fixes that changes code. TO be fair I'd be ok to swap ruff and isort ordering.