jcrocholl/pep8 — pull request #159 by pinard (2013-02-08 21:37:23+00:00)
Title: pep8 and Org mode strings

Hello, Johann.

The problem is when using Org mode for Python doc-strings or comments. I made a small patch to pep8 so it considers the visual length of Org links rather than their physical length, as a last resort try before issuing E502 (line too long) diagnostic.

There is one problem to this, however. Some valid Python code (like "[[1][0]]") might have the length wrongly computed as 1 while it should have been 8, weakening the pep8 program a bit in this area.

Surely, I would prefer not keeping a forked version of pep8. Do you have any opinion, advice, feeling on this?

Have a nice day!

François

P.S. The context is my https://github.com/pinard/poporg project.