Subject: 24.3.93; python-mode: fill-paragraph breaks comments in a way that annoys "flake8"
From: [email-masked] (Fabián Ezequiel Gallina)
To: [email-masked]
Date: Sat, 15 Nov 2014 19:17:23 -0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Eric,

Note that inline comments are pretty much discouraged[0].

Leaving that aside, the problem is that inline comments should fit in
their own line.  In the example you provided, you are trying to make an
inline comment that's too large to fit the line and in that case the
recommendation would be to turn it into a normal comment just before the
statement.

So, surprisingly, it seems in this case both flake8 and python.el are
right :)

[0] https://www.python.org/dev/peps/pep-0008#inline-comments

Thanks,
Fabián