Hi, On Fri, Dec 7, 2018 at 1:33 PM Daniel Hahler <[email protected]> wrote: > > Bad example, "line too long" is not bound to a certain column. > > Well, it refers to the column after all, and does not say "too many bytes". > > Given your example it looks like flake8 might be inconsistent here?! > > But I am seeing it reported as 18 with your change: > > src/dehqx.py:27:18: E701 multiple statements on one line (colon) > > Maybe py2/py3 is relevant here? > > I have flake8 --version: > > 3.6.0 (mccabe: 0.6.1, pycodestyle: 2.4.0, pyflakes: 2.0.0) CPython 3.7.1 on > Linux > > Anyway, let's just assume that it is possible to have this with some output. > > Do you still think your suggested fix applies? > > If it would consider multi-byte characters it could probably use > coladvance() (except that perhaps tabs must always be counted as eight > characters). >
Can you try the attached patch? Thanks, Yegappan -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
mbyte.diff
Description: Binary data
