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

Issue 2010173003: Enable pylint warnings on presubmit checks. (Closed)

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

Description

Enable pylint warnings on presubmit checks. In http://crbug.com/493941, it was mentioned that we could fix all current pylint warnings before enabling pylint warnings in the presubmit -- but actually we could also enable warnings in the presubmit now without causing any problems; pylint will only print warnings about lines that are changed in a CL, and turning on warnings now could be potentially helpful in cleaning up the code. And turning on pylint warnings in check-webkit-style and the presubmit is just a one line change; any reason not to just do it now? NOPRESUBMIT=true BUG=493941 Committed: https://crrev.com/d198da47ae0b4952bdfb3f15640bf1071cd86e3f Cr-Commit-Position: refs/heads/master@{#397780}

Patch Set 1 #

Patch Set 2 : Update unit test, pylintrc, and remove unused argument lines. #

Total comments: 3

Patch Set 3 : Remove print statement in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -17 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/pylintrc View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python.py View 1 3 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python_unittest.py View 1 2 1 chunk +12 lines, -6 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/python_unittest_input.py View 1 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 30 (16 generated)
qyearsley
4 years, 7 months ago (2016-05-27 00:03:16 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010173003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2010173003/1
4 years, 6 months ago (2016-05-28 16:39:22 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/235596)
4 years, 6 months ago (2016-05-28 17:43:57 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010173003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2010173003/20001
4 years, 6 months ago (2016-05-28 19:39:28 UTC) #11
qyearsley
https://codereview.chromium.org/2010173003/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/pylintrc File third_party/WebKit/Tools/Scripts/webkitpy/pylintrc (right): https://codereview.chromium.org/2010173003/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/pylintrc#newcode61 third_party/WebKit/Tools/Scripts/webkitpy/pylintrc:61: print-statement, Pylint prints errors about print statements if --errors-only ...
4 years, 6 months ago (2016-05-29 21:00:33 UTC) #12
mithro
I like the idea. If you are certain this works as described, then LGTM.
4 years, 6 months ago (2016-06-01 01:30:22 UTC) #13
qyearsley
On 2016/06/01 at 01:30:22, tansell wrote: > I like the idea. If you are certain ...
4 years, 6 months ago (2016-06-01 17:13:29 UTC) #16
Dirk Pranke
lgtm.
4 years, 6 months ago (2016-06-01 17:23:38 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010173003/40001
4 years, 6 months ago (2016-06-03 17:32:19 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010173003/40001
4 years, 6 months ago (2016-06-03 18:28:53 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-03 18:40:14 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010173003/40001
4 years, 6 months ago (2016-06-03 19:47:29 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-03 19:48:39 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 19:49:35 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d198da47ae0b4952bdfb3f15640bf1071cd86e3f
Cr-Commit-Position: refs/heads/master@{#397780}

Powered by Google App Engine
This is Rietveld 408576698