Will now run pylint on all python files if there's at least one modified python file in the checkin.
BUG= Review URL: https://webrtc-codereview.appspot.com/1101011 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3531 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
0460c7294a
commit
ba23d11564
@ -121,6 +121,10 @@ def _CommonChecks(input_api, output_api):
|
||||
"""Checks common to both upload and commit."""
|
||||
# TODO(kjellander): Use presubmit_canned_checks.PanProjectChecks too.
|
||||
results = []
|
||||
results.extend(input_api.canned_checks.RunPylint(input_api, output_api,
|
||||
black_list=(r'^tools/.*\.py$',
|
||||
r'^third_party/.*\.py$',
|
||||
r'^testing/.*\.py$',)))
|
||||
results.extend(input_api.canned_checks.CheckLongLines(
|
||||
input_api, output_api))
|
||||
results.extend(input_api.canned_checks.CheckChangeHasNoTabs(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user