diff options
Diffstat (limited to 'project/format.py')
| -rw-r--r-- | project/format.py | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/project/format.py b/project/format.py index f98f726..fc5ae0e 100644 --- a/project/format.py +++ b/project/format.py @@ -101,9 +101,18 @@ def filter_files(paths, exclude): return (path for path in paths if not excluded(path, exclude)) -CPP_FILE_EXTENSIONS = set( - (".c", ".h", ".cc", ".hh", ".cpp", ".hpp", ".cxx", ".hxx", ".cp", ".c++") -) +CPP_FILE_EXTENSIONS = { + ".c", + ".h", + ".cc", + ".hh", + ".cpp", + ".hpp", + ".cxx", + ".hxx", + ".cp", + ".c++", +} def list_cpp_files(): |
