Skip to content

Commit

Permalink
Update clang-format-all with new cpp paths
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 committed Oct 1, 2024
1 parent 0b84a5a commit b88d7be
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions clang-format-all
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ parser.add_argument(

args = parser.parse_args()
clang_format = args.executable
paths = ['core', 'cmd', 'src', 'testing']
paths = ['cpp', 'testing']
extensions = ['.h', '.cpp']
exclusion_list = ['core/file/nifti1.h',
'core/file/nifti2.h',
'core/file/json.h']
exclusion_list = ['cpp/lib/src/gui/gl_core_3_3.h',
'cpp/lib/src/gui/gl_core_3_3.cpp']

# if clang-format path contains spaces, wrap it in quotes
if ' ' in clang_format and not clang_format.startswith('"'):
Expand Down

0 comments on commit b88d7be

Please sign in to comment.