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

Issue 779033003: Add lint_filters parameter to CheckChangeLintsClean function. (Closed)

Created:
6 years ago by tfarina
Modified:
6 years ago
Reviewers:
Dirk Pranke, agable
CC:
agable, chromium-reviews, cmp-cc_chromium.org, Dirk Pranke, iannucci+depot_tools_chromium.org, iannucci, M-A Ruel, ghost stip (do not use), Nico
Project:
tools
Visibility:
Public.

Description

Add lint_filters parameter to CheckChangeLintsClean function. The idea here is that when one of the filters are cleaned up in Chromium, they should not be filtered out, otherwise we won't catch them in the presubmit step. See for example -> https://codereview.chromium.org/788493002/ BUG=None R=agable@chromium.org, dpranke@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=293357

Patch Set 1 #

Total comments: 3

Patch Set 2 : DEFAULT_LINT_FILTERS #

Total comments: 4

Patch Set 3 : join #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -15 lines) Patch
M presubmit_canned_checks.py View 1 2 3 chunks +25 lines, -15 lines 0 comments Download
M tests/presubmit_unittest.py View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
tfarina
Dirk, feel free to suggest a better way we could do this. For context, you ...
6 years ago (2014-12-08 01:05:39 UTC) #1
tfarina
Friendly ping? Feel free to suggest another reviewer though.
6 years ago (2014-12-09 17:39:16 UTC) #2
Dirk Pranke
+thakis ... Nico, maybe you have thoughts on this? https://codereview.chromium.org/779033003/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/779033003/diff/1/presubmit_canned_checks.py#newcode109 presubmit_canned_checks.py:109: ...
6 years ago (2014-12-09 21:17:07 UTC) #3
agable
LGTM % nit. https://codereview.chromium.org/779033003/diff/1/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/779033003/diff/1/presubmit_canned_checks.py#newcode104 presubmit_canned_checks.py:104: if lint_filters != None: s/!=/is not/
6 years ago (2014-12-09 21:34:49 UTC) #5
Nico
On 2014/12/09 21:17:07, Dirk Pranke wrote: > +thakis ... > > Nico, maybe you have ...
6 years ago (2014-12-09 22:53:39 UTC) #6
tfarina
Dirk, I tried to implement the way you suggested. Could you take another look at ...
6 years ago (2014-12-10 00:23:36 UTC) #7
tfarina
https://codereview.chromium.org/779033003/diff/20001/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/779033003/diff/20001/presubmit_canned_checks.py#newcode21 presubmit_canned_checks.py:21: DEFAULT_LINT_FILTERS = [ Looks like this is wrong: File ...
6 years ago (2014-12-10 00:36:12 UTC) #8
Dirk Pranke
I guess you're right that app_list was re-using the CheckChangeLintsClean() call in depot_tools. https://codereview.chromium.org/779033003/diff/20001/presubmit_canned_checks.py File ...
6 years ago (2014-12-10 02:13:18 UTC) #9
Dirk Pranke
lgtm w/ the constant and the call fixed ... https://codereview.chromium.org/779033003/diff/20001/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/779033003/diff/20001/presubmit_canned_checks.py#newcode21 presubmit_canned_checks.py:21: ...
6 years ago (2014-12-10 02:15:18 UTC) #10
tfarina
https://codereview.chromium.org/779033003/diff/20001/presubmit_canned_checks.py File presubmit_canned_checks.py (right): https://codereview.chromium.org/779033003/diff/20001/presubmit_canned_checks.py#newcode21 presubmit_canned_checks.py:21: DEFAULT_LINT_FILTERS = [ On 2014/12/10 02:15:18, Dirk Pranke wrote: ...
6 years ago (2014-12-10 03:40:26 UTC) #11
tfarina
6 years ago (2014-12-12 00:03:55 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 293357.

Powered by Google App Engine
This is Rietveld 408576698