Skip to content

Suggestion: include ruff's isort lint rule #2

@bradzacher

Description

@bradzacher

https://docs.astral.sh/ruff/rules/#isort-i
https://docs.astral.sh/ruff/settings/#isort

At Canva we currently use dprint-plugin-exec to run both black and isort over the codebase.
I'm not sure how common this is externally - but I believe it's not uncommon to run both black + isort on a python codebase together - treating isort as a second formatter of sorts.

Ruff supports import sorting - so it would be great if we could leverage this and eliminate one more (slow) integration from the exec plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions