allow TODO without username
authorJeff Donahue <jeff.donahue@gmail.com>
Wed, 26 Feb 2014 00:01:05 +0000 (16:01 -0800)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Wed, 26 Feb 2014 23:42:38 +0000 (15:42 -0800)
scripts/cpplint.py

index c5b14bd..4143c4b 100755 (executable)
@@ -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