From 90c69db428fa77d496779e7127d740da9fff6b9c Mon Sep 17 00:00:00 2001 From: "Krzysztof A. Sobiecki" Date: Fri, 7 Feb 2014 22:25:38 +0100 Subject: [PATCH] Set default filters in cpplint.py --- dist/cpplint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/cpplint.py b/dist/cpplint.py index 6a09a6c19..ecea0793d 100755 --- a/dist/cpplint.py +++ b/dist/cpplint.py @@ -207,7 +207,7 @@ _ERROR_CATEGORIES = [ # flag. By default all errors are on, so only add here categories that should be # off by default (i.e., categories that must be enabled by the --filter= flags). # All entries here should start with a '-' or '+', as in the --filter= flag. -_DEFAULT_FILTERS = ['-build/include_alpha'] +_DEFAULT_FILTERS = ['-build/include_alpha', '-build/include_order', '-build/include', '-readability/function'] # We used to check for high-bit characters, but after much discussion we # decided those were OK, as long as they were in UTF-8 and didn't represent