From e811565cf9eeea3023d0d2b78a04d6ddb5bb2e49 Mon Sep 17 00:00:00 2001 From: Jeff Donahue Date: Tue, 25 Feb 2014 16:01:05 -0800 Subject: [PATCH] allow TODO without username --- scripts/cpplint.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/cpplint.py b/scripts/cpplint.py index c5b14bd..4143c4b 100755 --- a/scripts/cpplint.py +++ b/scripts/cpplint.py @@ -208,7 +208,11 @@ _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', '-build/include_dir'] +_DEFAULT_FILTERS = [ + '-build/include_alpha', + '-build/include_dir', + '-readability/todo', + ] # 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 -- 2.7.4