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 Sep 26, 2024
1 parent 1e1b2d5 commit fe28ee2
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 fe28ee2

Please sign in to comment.