Skip to content

Line too long: Lambda in dictionary value #808

@alexbecker

Description

@alexbecker

Input (which I also think is a good format for output):

{
    "some very long dictionary key string goes here":
        lambda: some_very_long_function_name(x, y, z)
}

Output:

{
    "some very long dictionary key string goes here": lambda: some_very_long_function_name(
        x, y, z
    )
}

Note that the second line is >88 characters.

Possibly related to #781?

Operating system: Linux
Python version: 3.6.3
Black version: 19.3b0
Does also happen on master: yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    F: linetoolongBlack makes our lines too longT: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions