From 899699e6f3eb4c26c211b864115065d34332d69c Mon Sep 17 00:00:00 2001 From: "phoglund@webrtc.org" Date: Mon, 21 Jan 2013 15:57:34 +0000 Subject: [PATCH] Enabled full lint checking for ALL WebRTC changes. According to decision at the 14/1 -13 test sync meeting. TESTED=Made local modification; noted the brutal amount of presubmit lint warnings. BUG= Review URL: https://webrtc-codereview.appspot.com/1063004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3394 4adac7df-926f-26a2-2b94-8c16560cd09d --- PRESUBMIT.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index b35848e8f4..03933b83ad 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -8,10 +8,6 @@ import os.path -# All folders in LINT_FOLDERS will be scanned by cpplint by the presubmit -# script. Note that subfolders are not included. -LINT_FOLDERS = ['src/video_engine'] - def _LicenseHeader(input_api): """Returns the license header regexp.""" # Accept any year number from 2011 to the current year @@ -73,8 +69,7 @@ def _CheckNoFRIEND_TEST(input_api, output_api): def _IsLintWhitelisted(file_name): """ Checks if a file is whitelisted for lint check.""" - # TODO(mflodman) Include subfolders in the check. - return (os.path.dirname(file_name) in LINT_FOLDERS) + return True def _CheckApprovedFilesLintClean(input_api, output_api, source_file_filter=None):