Skip to content

YADF Dedent comment bloc #1262

Open
Open
@PabloBeranger

Description

@PabloBeranger

I have commented out lines that are indented (example of a function). When I run yapf, the comment lines are unindented and aligned with the indentation of the first line.

Source File
Image

Formatage YAPF
Image

How can I keep the indentation of commented lines?
Can yapf ignore all commented lines?

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