Skip to content

Feature: Support isort multi_line_output option #2600

@mikelane

Description

@mikelane

The isort module provides many different ways of accomplishing the wrapping for a given project. From my experience, this is a widely used option in projects that use isort, so it would be nice to have this support in ruff.

Ideally, the ruff setting would be something like this:

[tool.ruff.isort]
multi_line_output = 3  # Vertical Hanging Indent

The output options would follow the options settings and option values listed in the isort documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    isortRelated to import sortingneeds-decisionAwaiting a decision from a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions