From ba23d11564c23c4c5e1b2252f83396d37600f136 Mon Sep 17 00:00:00 2001 From: "phoglund@webrtc.org" Date: Tue, 19 Feb 2013 12:27:57 +0000 Subject: [PATCH] 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 --- PRESUBMIT.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 03933b83ad..343d84c587 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -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(