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

Issue 2120083002: Enable stricter pylint checks. (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

Enable stricter pylint checks. The webkitpy presubmit only checks modified lines, so if we enable some pylint checks that the codebase doesn't currently conform to, that will be OK -- this just means that as code is edited in the future, it can slowly be changed to pass these checks, and we can refine the pylint checks over time. BUG=598897 Committed: https://crrev.com/79192ab645a00c75263cc7175e962c0cbba1c187 Cr-Commit-Position: refs/heads/master@{#407816}

Patch Set 1 #

Patch Set 2 : Enable more pylint checks. #

Total comments: 7

Patch Set 3 : Remove comment changes #

Patch Set 4 : Move comment so that it doesn't interfere with disable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -33 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/pylintrc View 1 2 3 4 chunks +11 lines, -33 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
qyearsley
https://codereview.chromium.org/2120083002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/pylintrc File third_party/WebKit/Tools/Scripts/webkitpy/pylintrc (right): https://codereview.chromium.org/2120083002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/pylintrc#newcode65 third_party/WebKit/Tools/Scripts/webkitpy/pylintrc:65: design, design covers all of the "too-many-x" warnings. https://codereview.chromium.org/2120083002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/pylintrc#newcode158 ...
4 years, 5 months ago (2016-07-03 17:20:10 UTC) #2
qyearsley
4 years, 5 months ago (2016-07-07 18:40:19 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2120083002/20001
4 years, 5 months ago (2016-07-07 18:40:56 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-07 20:24:28 UTC) #8
qyearsley
Does this list of rules in pylintrc (and changes to the comments) seem OK? Note ...
4 years, 5 months ago (2016-07-18 18:35:08 UTC) #9
mithro
Generally I like the idea here. If Dirk is happy with it, then do submit. ...
4 years, 5 months ago (2016-07-21 05:37:54 UTC) #10
qyearsley
https://codereview.chromium.org/2120083002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/pylintrc File third_party/WebKit/Tools/Scripts/webkitpy/pylintrc (right): https://codereview.chromium.org/2120083002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/pylintrc#newcode219 third_party/WebKit/Tools/Scripts/webkitpy/pylintrc:219: # Maximum number of locals for function / method ...
4 years, 5 months ago (2016-07-21 16:04:51 UTC) #11
mithro
On 2016/07/21 16:04:51, qyearsley wrote: > https://codereview.chromium.org/2120083002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/pylintrc > File third_party/WebKit/Tools/Scripts/webkitpy/pylintrc (right): > > https://codereview.chromium.org/2120083002/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/pylintrc#newcode219 > ...
4 years, 4 months ago (2016-07-26 06:08:46 UTC) #20
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/2120083002/60001
4 years, 4 months ago (2016-07-26 15:53:00 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-26 15:57:37 UTC) #23
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/79192ab645a00c75263cc7175e962c0cbba1c187 Cr-Commit-Position: refs/heads/master@{#407816}
4 years, 4 months ago (2016-07-26 16:01:03 UTC) #25
Dirk Pranke
4 years, 4 months ago (2016-08-09 00:58:00 UTC) #26
Message was sent while issue was closed.
lgtm also (belatedly).

Powered by Google App Engine
This is Rietveld 408576698