Skip to content

E501: Combining diacritics counted against line length #856

@reynoldsnlp

Description

@reynoldsnlp

It looks like unicode combining diacritics are counted as full characters, which causes E501 to fire, even when it is visually less than 79 characters:

text = ['ся́ду', 'твёрдый', 'ю́бкой', 'ба́юшки', 'опя́ть', 'съе́сть', 'жи́ть', 'éли']
a = 'а́́́́́́́́́́́́́́́́́́́'

It seems to me that combining characters should be excluded from the count.

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