diff options
Diffstat (limited to 'utils/lint/cpp_lint.py')
-rwxr-xr-x | utils/lint/cpp_lint.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/lint/cpp_lint.py b/utils/lint/cpp_lint.py index e26fb707c9..ca81bfe35d 100755 --- a/utils/lint/cpp_lint.py +++ b/utils/lint/cpp_lint.py @@ -65,9 +65,11 @@ def VerifyIncludes(filename, lines): class CppLint(common_lint.BaseLint): + MAX_LINE_LENGTH = 80 + def RunOnFile(self, filename, lines): VerifyIncludes(filename, lines) - common_lint.VerifyLineLength(filename, lines) + common_lint.VerifyLineLength(filename, lines, CppLint.MAX_LINE_LENGTH) common_lint.VerifyTrailingWhitespace(filename, lines) |