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
This commit is contained in:
parent
a678a3baee
commit
899699e6f3
@ -8,10 +8,6 @@
|
|||||||
|
|
||||||
import os.path
|
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):
|
def _LicenseHeader(input_api):
|
||||||
"""Returns the license header regexp."""
|
"""Returns the license header regexp."""
|
||||||
# Accept any year number from 2011 to the current year
|
# 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):
|
def _IsLintWhitelisted(file_name):
|
||||||
""" Checks if a file is whitelisted for lint check."""
|
""" Checks if a file is whitelisted for lint check."""
|
||||||
# TODO(mflodman) Include subfolders in the check.
|
return True
|
||||||
return (os.path.dirname(file_name) in LINT_FOLDERS)
|
|
||||||
|
|
||||||
def _CheckApprovedFilesLintClean(input_api, output_api,
|
def _CheckApprovedFilesLintClean(input_api, output_api,
|
||||||
source_file_filter=None):
|
source_file_filter=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user