Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Line length incorrect with Unicode characters #63

Open
ShadowLNC opened this issue Mar 10, 2017 · 2 comments
Open

Line length incorrect with Unicode characters #63

ShadowLNC opened this issue Mar 10, 2017 · 2 comments
Labels

Comments

@ShadowLNC
Copy link

I have the minimap and minimap-titles plugins. Using this, I can run "Minimap Titles: Convert" on a line, and it creates ASCII block (title) text, as shown in the image below. It uses Unicode characters that are improperly counted by linter-pylama, or perhaps the "parent" linter plugin.

You can see the error here for a line that is only about 40 characters long (the 80-wide line is near the right edge of the image):

image

Running ord on the character in question returns the base 10 integer 9608.

Versions:
Linter 1.11.23
Linter Pylama 0.8.13
Minimap 4.26.8
Minimap Titles 1.10.0
Atom 1.15.0 ia32
Windows 10 Pro, 64-bit

@ghost
Copy link

ghost commented Apr 5, 2017

Parent linter (pep8) most likely so you would need to report this to them directly. I personally turn off E501 in options.

@ddaanet
Copy link
Contributor

ddaanet commented May 6, 2017

Yes. NOTABUG for linter-pylama, it's for pycodestyle, probably not accounting for unicode surrogate pairs correctly.

@gmist gmist added the External label Jun 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants