pycodestyle icon indicating copy to clipboard operation
pycodestyle copied to clipboard

E501: Combining diacritics counted against line length

Open reynoldsnlp opened this issue 7 years ago • 3 comments

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.

reynoldsnlp avatar Mar 22 '19 22:03 reynoldsnlp