Closed jku closed 1 year ago
ruff can do import sorting but it does not seem to be enabled by default
This in pyproject.toml might help (and then running ruff with --fix to sort everything) :
[tool.ruff] # pycodestyle (`E`) and Pyflakes (`F`) are enabled by default. # Also enable isort (`I`). select = ["E", "F", "I"]
as a bonus we could consider enabling other rulesets as well: https://beta.ruff.rs/docs/rules/
ruff can do import sorting but it does not seem to be enabled by default
This in pyproject.toml might help (and then running ruff with --fix to sort everything) :
as a bonus we could consider enabling other rulesets as well: https://beta.ruff.rs/docs/rules/