allow 100-character lines
This commit is contained in:
parent
8aba54e71a
commit
46ec999b13
1 changed files with 2 additions and 1 deletions
|
@ -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__':
|
||||
|
|
Loading…
Reference in a new issue