allow 100-character lines

This commit is contained in:
Patrick Reynolds 2013-12-19 13:19:12 -06:00
parent 8aba54e71a
commit 46ec999b13

View file

@ -8,6 +8,7 @@ import sys
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
CPPLINT = os.path.join(SOURCE_ROOT, 'vendor', 'google-styleguide', 'trunk', 'cpplint', 'cpplint.py')
LINE_LENGTH = 100
IGNORED_FILES = [
os.path.join('browser', 'mac', 'bry_inspectable_web_contents_view_private.h'),
@ -40,7 +41,7 @@ def list_files(directories, filters):
def cpplint(files):
return subprocess.call([sys.executable, CPPLINT, '--filter=' + ','.join(FILTERS)] + list(files))
return subprocess.call([sys.executable, CPPLINT, '--linelength=%d' % LINE_LENGTH, '--filter=' + ','.join(FILTERS)] + list(files))
if __name__ == '__main__':