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

Issue 753543006: pylint: upgrade to 1.4.0 (Closed)

Created:
6 years ago by vapier
Modified:
6 years ago
CC:
chromium-reviews, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Project:
tools
Visibility:
Public.

Description

pylint: upgrade to 1.4.0 This is largely a bugfix release, so should be much easier to transition. BUG=chromium:431514 TEST=ran on some code bases and checked output Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=293355

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3267 lines, -1433 lines) Patch
M third_party/logilab/astroid/README.chromium View 1 chunk +1 line, -1 line 0 comments Download
M third_party/logilab/astroid/__init__.py View 2 chunks +14 lines, -1 line 0 comments Download
M third_party/logilab/astroid/__pkginfo__.py View 1 chunk +4 lines, -11 lines 0 comments Download
M third_party/logilab/astroid/as_string.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/logilab/astroid/bases.py View 9 chunks +104 lines, -56 lines 0 comments Download
M third_party/logilab/astroid/brain/py2gi.py View 3 chunks +24 lines, -28 lines 0 comments Download
M third_party/logilab/astroid/brain/py2mechanize.py View 2 chunks +4 lines, -6 lines 0 comments Download
A third_party/logilab/astroid/brain/py2pytest.py View 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/logilab/astroid/brain/py2qt4.py View 1 chunk +4 lines, -7 lines 0 comments Download
M third_party/logilab/astroid/brain/py2stdlib.py View 10 chunks +49 lines, -54 lines 0 comments Download
M third_party/logilab/astroid/builder.py View 4 chunks +20 lines, -17 lines 0 comments Download
M third_party/logilab/astroid/inference.py View 5 chunks +49 lines, -48 lines 0 comments Download
M third_party/logilab/astroid/manager.py View 12 chunks +73 lines, -31 lines 0 comments Download
M third_party/logilab/astroid/mixins.py View 2 chunks +7 lines, -5 lines 0 comments Download
M third_party/logilab/astroid/modutils.py View 22 chunks +114 lines, -81 lines 0 comments Download
M third_party/logilab/astroid/node_classes.py View 16 chunks +37 lines, -22 lines 0 comments Download
M third_party/logilab/astroid/protocols.py View 4 chunks +6 lines, -10 lines 0 comments Download
M third_party/logilab/astroid/raw_building.py View 5 chunks +9 lines, -6 lines 0 comments Download
M third_party/logilab/astroid/rebuilder.py View 52 chunks +13 lines, -68 lines 0 comments Download
M third_party/logilab/astroid/scoped_nodes.py View 22 chunks +138 lines, -72 lines 0 comments Download
M third_party/logilab/astroid/utils.py View 2 chunks +10 lines, -9 lines 0 comments Download
M third_party/logilab/common/README.chromium View 1 chunk +1 line, -1 line 0 comments Download
M third_party/logilab/common/__pkginfo__.py View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/logilab/common/cli.py View 5 chunks +18 lines, -16 lines 0 comments Download
M third_party/logilab/common/configuration.py View 1 chunk +7 lines, -8 lines 0 comments Download
M third_party/logilab/common/daemon.py View 3 chunks +4 lines, -5 lines 0 comments Download
M third_party/logilab/common/date.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/logilab/common/dbf.py View 4 chunks +4 lines, -3 lines 0 comments Download
M third_party/logilab/common/deprecation.py View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/logilab/common/optparser.py View 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/logilab/common/pytest.py View 6 chunks +69 lines, -24 lines 0 comments Download
M third_party/logilab/common/ureports/__init__.py View 5 chunks +6 lines, -6 lines 0 comments Download
M third_party/logilab/common/ureports/text_writer.py View 6 chunks +15 lines, -15 lines 0 comments Download
M third_party/logilab/common/urllib2ext.py View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/pylint/README.chromium View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/pylint/__init__.py View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/pylint/__pkginfo__.py View 1 chunk +3 lines, -7 lines 0 comments Download
M third_party/pylint/checkers/__init__.py View 6 chunks +10 lines, -29 lines 0 comments Download
M third_party/pylint/checkers/base.py View 29 chunks +150 lines, -75 lines 0 comments Download
M third_party/pylint/checkers/classes.py View 25 chunks +159 lines, -24 lines 0 comments Download
M third_party/pylint/checkers/design_analysis.py View 10 chunks +19 lines, -23 lines 0 comments Download
M third_party/pylint/checkers/exceptions.py View 12 chunks +83 lines, -94 lines 0 comments Download
M third_party/pylint/checkers/format.py View 17 chunks +57 lines, -37 lines 0 comments Download
M third_party/pylint/checkers/imports.py View 11 chunks +31 lines, -16 lines 0 comments Download
M third_party/pylint/checkers/logging.py View 7 chunks +51 lines, -8 lines 0 comments Download
M third_party/pylint/checkers/misc.py View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/pylint/checkers/newstyle.py View 8 chunks +33 lines, -12 lines 0 comments Download
A third_party/pylint/checkers/python3.py View 1 chunk +464 lines, -0 lines 0 comments Download
M third_party/pylint/checkers/similar.py View 7 chunks +21 lines, -17 lines 0 comments Download
A third_party/pylint/checkers/spelling.py View 1 chunk +241 lines, -0 lines 0 comments Download
M third_party/pylint/checkers/stdlib.py View 4 chunks +41 lines, -3 lines 0 comments Download
M third_party/pylint/checkers/strings.py View 14 chunks +31 lines, -35 lines 0 comments Download
M third_party/pylint/checkers/typecheck.py View 12 chunks +30 lines, -62 lines 0 comments Download
M third_party/pylint/checkers/utils.py View 4 chunks +87 lines, -7 lines 0 comments Download
M third_party/pylint/checkers/variables.py View 22 chunks +195 lines, -65 lines 0 comments Download
M third_party/pylint/config.py View 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/pylint/epylint.py View 5 chunks +11 lines, -10 lines 0 comments Download
M third_party/pylint/gui.py View 10 chunks +22 lines, -15 lines 0 comments Download
M third_party/pylint/interfaces.py View 1 chunk +13 lines, -1 line 0 comments Download
M third_party/pylint/lint.py View 34 chunks +372 lines, -71 lines 0 comments Download
M third_party/pylint/pyreverse/diadefslib.py View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/pylint/pyreverse/diagrams.py View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/pylint/pyreverse/main.py View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/pylint/pyreverse/utils.py View 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/pylint/reporters/__init__.py View 6 chunks +25 lines, -30 lines 0 comments Download
M third_party/pylint/reporters/guireporter.py View 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/pylint/reporters/html.py View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/pylint/reporters/text.py View 5 chunks +16 lines, -14 lines 0 comments Download
M third_party/pylint/testutils.py View 15 chunks +67 lines, -41 lines 0 comments Download
M third_party/pylint/utils.py View 29 chunks +154 lines, -91 lines 0 comments Download

Messages

Total messages: 29 (11 generated)
vapier
6 years ago (2014-12-03 02:47:44 UTC) #2
M-A Ruel
lgtm
6 years ago (2014-12-03 02:52:10 UTC) #3
Yoshisato Yanagisawa
lgtm
6 years ago (2014-12-03 03:15:07 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753543006/1
6 years ago (2014-12-03 06:24:45 UTC) #6
commit-bot: I haz the power
Presubmit check for 753543006-1 failed and returned exit status 1. Running presubmit commit checks ...
6 years ago (2014-12-03 06:27:17 UTC) #8
vapier
no idea why, but that output is truncated and omits the important line: error: pathspec ...
6 years ago (2014-12-03 06:57:00 UTC) #9
vapier
looks like the unittests fail for svn too. and they fail in git w/out my ...
6 years ago (2014-12-03 07:15:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753543006/1
6 years ago (2014-12-04 23:56:26 UTC) #12
commit-bot: I haz the power
Presubmit check for 753543006-1 failed and returned exit status 1. Running presubmit commit checks ...
6 years ago (2014-12-04 23:58:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753543006/1
6 years ago (2014-12-11 16:26:14 UTC) #16
commit-bot: I haz the power
Presubmit check for 753543006-1 failed and returned exit status 1. Running presubmit commit checks ...
6 years ago (2014-12-11 16:28:55 UTC) #18
M-A Ruel
On 2014/12/11 16:28:55, I haz the power (commit-bot) wrote: > ERROR: testBlinkDEPSChangeUsingGit (__main__.BlinkDEPSTransitionSmokeTest) This was ...
6 years ago (2014-12-11 16:31:56 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753543006/1
6 years ago (2014-12-11 18:34:19 UTC) #21
commit-bot: I haz the power
Presubmit check for 753543006-1 failed and returned exit status 1. Running presubmit commit checks ...
6 years ago (2014-12-11 18:36:32 UTC) #23
dcheng
I'm pretty sure this broke the blink layout test bots. They are all failing in ...
6 years ago (2014-12-12 02:23:22 UTC) #26
dcheng
I fixed the blink test in https://codereview.chromium.org/795353004, since it turns out it was pretty straightforward. ...
6 years ago (2014-12-12 02:37:30 UTC) #27
vapier
thanks for that! i wonder if there's a way we could make unittest a bit ...
6 years ago (2014-12-12 03:01:32 UTC) #28
Dirk Pranke
6 years ago (2014-12-12 03:37:06 UTC) #29
Message was sent while issue was closed.
On 2014/12/12 03:01:32, vapier wrote:
> thanks for that!  i wonder if there's a way we could make unittest a bit more
> stable.  it seems to break every time pylint changes :/.  maybe match specific
> sub-parts of the message that we care about.

Part of the problem is that the test is testing the entire contents of the
pylint warnings, and this roll added a new warning.

Frankly, at this point, I'm not sure that the webkitpy tests are adding any real
value. We should probably at least change them to stub out the call to pylint so
that we're just testing the webkitpy code.

Powered by Google App Engine
This is Rietveld 408576698