From 466ec38da1e07c1db45041da1ac3c56b6e4bc579 Mon Sep 17 00:00:00 2001 From: Jeff Donahue Date: Tue, 25 Feb 2014 12:47:25 -0800 Subject: [PATCH] add hpp to valid cpplint extensions --- scripts/cpplint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cpplint.py b/scripts/cpplint.py index 52eb223..696a506 100755 --- a/scripts/cpplint.py +++ b/scripts/cpplint.py @@ -450,7 +450,7 @@ _line_length = 80 # The allowed extensions for file names # This is set by --extensions flag. -_valid_extensions = set(['cc', 'h', 'cpp', 'cu', 'cuh']) +_valid_extensions = set(['cc', 'h', 'cpp', 'hpp', 'cu', 'cuh']) def ParseNolintSuppressions(filename, raw_line, linenum, error): """Updates the global list of error-suppressions. -- 2.7.4