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

Issue 29994576: Noissue - Use flake8's built-in per-file-ignores and work around pep8-naming bug (Closed)

Created:
Feb. 1, 2019, 12:12 a.m. by rhowell
Modified:
Feb. 2, 2019, 3:12 a.m.
Base URL:
https://hg.adblockplus.org/cms/
Visibility:
Public.

Description

Noissue - Use flake8's built-in per-file-ignores and work around pep8-naming bug Repository: https://hg.adblockplus.org/cms Base revision: 48798fda011c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -11 lines) Patch
M cms/converters.py View 1 chunk +1 line, -1 line 0 comments Download
M tox.ini View 2 chunks +9 lines, -10 lines 0 comments Download

Messages

Total messages: 3
rhowell
Feb. 1, 2019, 12:12 a.m. (2019-02-01 00:12:23 UTC) #1
rhowell
Hey guys! I ran into a bug while working on this - it seems pep8-naming ...
Feb. 1, 2019, 12:13 a.m. (2019-02-01 00:13:08 UTC) #2
Vasily Kuznetsov
Feb. 1, 2019, 4 p.m. (2019-02-01 16:00:29 UTC) #3
On 2019/02/01 00:13:08, rhowell wrote:
> Hey guys!
> 
> I ran into a bug while working on this - it seems pep8-naming released a new
> version (0.8.0) on Jan 28, and it seems to have reintroduced a bug similar to
> this one: https://github.com/PyCQA/pep8-naming/issues/53
> 
> I found at least one file that breaks pep8-naming,
> cms/translations/xtm/projects_handler.py.
> I was able to reproduce it in a virtualenv, results are here:
> https://pastebin.com/h2yTktQJ
> 
> Wondering the best way to proceed. For now, keeping pep8-naming<=0.7.0 works,
> but maybe we should file a bug report with them? Should this be a separate
> Noissue commit?
> 
> And let me know if you see any other issues?
> 
> Thanks!  :)
> Rosie

Hi Rosie,

I think it would be nice to separate the pep8-naming version pin into a separate
commit, but it also seems too small of a change. Perhaps you can just add
another line to the commit message here to mention why it got pinned.

LGTM

Cheers,
Vasily

Powered by Google App Engine
This is Rietveld