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

Issue 2130093003: Fix pylint warnings in webkitpy/common/. (Closed)

Created:
4 years, 5 months ago by qyearsley
Modified:
4 years, 4 months ago
Reviewers:
Dirk Pranke, mithro
CC:
blink-reviews, chromium-reviews, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix pylint warnings in webkitpy/common/. Committed: https://crrev.com/741b54d9993d44d46435a759f6763cee9d5c07a5 Cr-Commit-Position: refs/heads/master@{#411710}

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Rebase and fix most newly-enabled pylint warnings. #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+412 lines, -349 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer.py View 1 2 10 chunks +27 lines, -29 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/baselineoptimizer_unittest.py View 1 2 5 chunks +184 lines, -145 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser.py View 1 2 1 chunk +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/diff_parser_unittest.py View 1 2 4 chunks +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/git.py View 1 2 6 chunks +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/scm.py View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/find_files.py View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/find_files_unittest.py View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/memoized.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/message_pool.py View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/file_uploader.py View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/networktransaction_unittest.py View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/rietveld.py View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/prettypatch.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/read_checksum_from_png_unittest.py View 1 2 1 chunk +16 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/crashlogs_unittest.py View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive.py View 1 2 6 chunks +11 lines, -11 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_unittest.py View 1 2 4 chunks +8 lines, -10 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem.py View 1 2 4 chunks +11 lines, -10 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py View 1 9 chunks +29 lines, -29 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_unittest.py View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/logutils_unittest.py View 1 2 6 chunks +1 line, -8 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputcapture.py View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/outputtee.py View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/platforminfo_unittest.py View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/stack_utils_unittest.py View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/user.py View 1 2 4 chunks +13 lines, -13 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/user_mock.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/user_unittest.py View 3 chunks +18 lines, -15 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/workspace_mock.py View 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/pylintrc View 1 2 3 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 33 (24 generated)
qyearsley
4 years, 5 months ago (2016-07-07 23:26:52 UTC) #2
Dirk Pranke
lgtm (very belatedly).
4 years, 4 months ago (2016-08-09 03:44:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2130093003/40001
4 years, 4 months ago (2016-08-12 16:30:06 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/237063)
4 years, 4 months ago (2016-08-12 16:36:18 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2130093003/60001
4 years, 4 months ago (2016-08-12 16:55:13 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-12 18:30:21 UTC) #29
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/741b54d9993d44d46435a759f6763cee9d5c07a5 Cr-Commit-Position: refs/heads/master@{#411710}
4 years, 4 months ago (2016-08-12 18:33:19 UTC) #31
hiroshige
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2248653002/ by hiroshige@chromium.org. ...
4 years, 4 months ago (2016-08-15 08:55:33 UTC) #32
qyearsley
4 years, 4 months ago (2016-08-15 15:51:03 UTC) #33
Message was sent while issue was closed.
On 2016/08/15 at 08:55:33, hiroshige wrote:
> A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2248653002/ by hiroshige@chromium.org.
> 
> The reason for reverting is: Causing Linux ASAN bot failure:
> crbug.com/637664
> 
> BUG=637664
> .

Looks like with this CL I was trying to do too many unrelated things in one CL,
and changed names of arguments in a couple places but not others.

This, in addition to the fact that test coverage in webkitpy is not complete has
meant that this change caused two failures on the bots that I didn't discover
before committing. I think that in general for changes like this, it's better to
make more specific CLs (fix instances of warning X, or rename argument Y) rather
than general ones (fix all warnings in a large directory).

Powered by Google App Engine
This is Rietveld 408576698