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

Issue 7097012: Improve CheckLongLines() to increase the hard limit at 50% when an exception is found. (Closed)

Created:
9 years, 6 months ago by M-A Ruel
Modified:
9 years, 6 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, Dirk Pranke
Visibility:
Public.

Description

Improve CheckLongLines() to increase the hard limit at 50% when an exception is found. Improve the list of exception to include very_long_symbol_names. R=dpranke@chromium.org BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89696

Patch Set 1 #

Patch Set 2 : Fix regex to work properly, update unit test accordingly #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -11 lines) Patch
M presubmit_canned_checks.py View 1 1 chunk +18 lines, -6 lines 1 comment Download
M tests/presubmit_unittest.py View 1 3 chunks +37 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
M-A Ruel
9 years, 6 months ago (2011-06-15 16:03:12 UTC) #1
M-A Ruel
Ping.
9 years, 6 months ago (2011-06-20 18:06:17 UTC) #2
Dirk Pranke
9 years, 6 months ago (2011-06-20 18:19:22 UTC) #3
LGTM.

http://codereview.chromium.org/7097012/diff/4/presubmit_canned_checks.py
File presubmit_canned_checks.py (right):

http://codereview.chromium.org/7097012/diff/4/presubmit_canned_checks.py#newc...
presubmit_canned_checks.py:320: line.startswith(MACROS) or
Hm. Didn't realize you can use tuples here. Cool.

Powered by Google App Engine
This is Rietveld 408576698