remove cpp file extensions

This commit is contained in:
Julian Orth 2014-03-05 22:16:49 +01:00 committed by Thiago de Arruda
parent 2b7cd6ebbc
commit f3a77cfd8c

View File

@ -473,7 +473,7 @@ _line_length = 80
# The allowed extensions for file names
# This is set by --extensions flag.
_valid_extensions = set(['cc', 'h', 'cpp', 'cu', 'cuh', 'c'])
_valid_extensions = set(['c', 'h'])
def ParseNolintSuppressions(filename, raw_line, linenum, error):
"""Updates the global list of error-suppressions.