Skip to content

Exclude pragma comments from measured line width #6772

@MichaReiser

Description

@MichaReiser

Exclude trailing expression end-of-line comments to be included in the measured line width (type: , pyright: pylint:, noqa, but NOT nocoverage because it is a trailing clause comment that isn't sensitive about its positioning

Metadata

Metadata

Assignees

No one assigned

    Labels

    formatterRelated to the formatter

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions