Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Issue 252583009: Silence pylint for the imported OrderedSet class. (Closed)

Created:
6 years, 7 months ago by Daniel Bratell
Modified:
6 years, 7 months ago
Reviewers:
Mark Mentovai
CC:
gyp-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/gyp.git@master
Visibility:
Public.

Description

Silence pylint for the imported OrderedSet class. Silence two warnings: OrderedSet.discard: Redefining built-in 'next' OrderedSet.pop: Arguments number differs from overridden method Committed r1915

Patch Set 1 #

Total comments: 2

Patch Set 2 : OrderedSet pylint: Moved comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M pylib/gyp/common.py View 1 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Daniel Bratell
mark, just a followup to a recent patch. The OrderedSet we imported from the python ...
6 years, 7 months ago (2014-04-28 12:20:19 UTC) #1
Mark Mentovai
https://codereview.chromium.org/252583009/diff/1/pylib/gyp/common.py File pylib/gyp/common.py (right): https://codereview.chromium.org/252583009/diff/1/pylib/gyp/common.py#newcode518 pylib/gyp/common.py:518: # pylint: disable=W0221 Should this be on the next ...
6 years, 7 months ago (2014-04-28 12:59:16 UTC) #2
Daniel Bratell
https://codereview.chromium.org/252583009/diff/1/pylib/gyp/common.py File pylib/gyp/common.py (right): https://codereview.chromium.org/252583009/diff/1/pylib/gyp/common.py#newcode518 pylib/gyp/common.py:518: # pylint: disable=W0221 On 2014/04/28 12:59:16, Mark Mentovai wrote: ...
6 years, 7 months ago (2014-04-28 14:45:38 UTC) #3
Torne
On 2014/04/28 14:45:38, Daniel Bratell wrote: > https://codereview.chromium.org/252583009/diff/1/pylib/gyp/common.py > File pylib/gyp/common.py (right): > > https://codereview.chromium.org/252583009/diff/1/pylib/gyp/common.py#newcode518 ...
6 years, 7 months ago (2014-04-28 14:58:06 UTC) #4
Shezan Baig (Bloomberg)
Daniel, did you get a chance to update this? I seem to be running into ...
6 years, 7 months ago (2014-05-05 17:00:46 UTC) #5
Mark Mentovai
I think that the presubmit check is broken, it should be using the pylintrc file ...
6 years, 7 months ago (2014-05-05 17:07:35 UTC) #6
Daniel Bratell
On 2014/05/05 17:00:46, Shezan Baig (Bloomberg) wrote: > Daniel, did you get a chance to ...
6 years, 7 months ago (2014-05-05 18:08:00 UTC) #7
Mark Mentovai
LGTM
6 years, 7 months ago (2014-05-06 16:36:24 UTC) #8
Mark Mentovai
6 years, 7 months ago (2014-05-06 16:40:41 UTC) #9
Committed r1915.

We don’t actually have the “Redefining built-in 'next'” warning when we run
pylint as part of presubmit because that warning (W0622) is suppressed in
PRESUBMIT.py. I’ve committed your patch as-is anyway.

Powered by Google App Engine
This is Rietveld 408576698