Skip to content

multi_line_output ignored when wrapping with comment #2316

Open
@PeterJCLaw

Description

@PeterJCLaw

Given:
setup.cfg:

[isort]
atomic = True
balanced_wrapping = True
combine_as_imports = True
include_trailing_comma = True
multi_line_output = 3
order_by_type = False
float_to_top = True

extra_standard_library = typing_extensions
default_section = THIRDPARTY
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

foo.py:

from pythonosc.udp_client import SimpleUDPClient  # type: ignore[import-untyped]

Expected:

from pythonosc.udp_client import (  # type: ignore[import-untyped]
    SimpleUDPClient,
)

Actual:

from pythonosc.udp_client import \
    SimpleUDPClient  # type: ignore[import-untyped]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions