Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29566555: Noissue - Fix flake8-eyeo for flake8 3.4 (Closed)

Created:
Oct. 6, 2017, 2:04 a.m. by Sebastian Noack
Modified:
Oct. 6, 2017, 6:50 p.m.
Visibility:
Public.

Description

Noissue - Fix flake8-eyeo for flake8 3.4

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -14 lines) Patch
M flake8-eyeo/flake8_eyeo.py View 2 chunks +4 lines, -10 lines 0 comments Download
M flake8-eyeo/setup.py View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4
Sebastian Noack
Starting with flake 8 3.4.0, all errors detected by flake8-eyeo are ignored, except when specifying ...
Oct. 6, 2017, 2:09 a.m. (2017-10-06 02:09:55 UTC) #1
Vasily Kuznetsov
LGTM. Do you know if they are planning to fix this "feature" or if this ...
Oct. 6, 2017, 11 a.m. (2017-10-06 11:00:11 UTC) #2
tlucas
LGTM - Nice to know, that we could use flake8 v3 now :)
Oct. 6, 2017, 11:45 a.m. (2017-10-06 11:45:41 UTC) #3
Sebastian Noack
Oct. 6, 2017, 6:50 p.m. (2017-10-06 18:50:00 UTC) #4
On 2017/10/06 11:00:11, Vasily Kuznetsov wrote:
> Do you know if they are planning to fix this "feature" or if this change
brings
> us to the "correct" way of registering plugins now?

To me it seems to be an unintentional regression. Note that the previous way we
registered the plugin still works, but merely causes our errors to be ignored by
default, and the change causing this doesn't mention anything about plugins, and
it doesn't touch any plugin support code directly. But I still hope to get a
reply to my comment on GitLab.

But FWIW, this way we can at least support flake8 2+3 with the same mechanism.
However, note that this didn't work before with flake8 3.0.0, which was the
reason we changed the way the plugin is registered in the first place. So far
for a stable API. If there is anything we can trust in, is that they keep
breaking plugins. ;)

On 2017/10/06 11:45:41, tlucas wrote:
> LGTM - Nice to know, that we could use flake8 v3 now :)

Well, we already use flake8 3, except for buildtools, sitescripts and cms. The
reason we cannot use flake8 3 there yet, is the flake8-putty plugin which is
incompatible with flake8 3. However, flake8-eyeo has been compatible since
flake8 3 has been released, but they keep breaking the API.

Powered by Google App Engine
This is Rietveld