Fix clang format

This commit is contained in:
Michelle Linington 2021-11-01 18:03:59 -07:00
parent d89272e1db
commit 7a3f063276
2 changed files with 2 additions and 1 deletions

View File

@ -12,4 +12,5 @@ PointerBindsToType: false
SpacesBeforeTrailingComments: 1
TabWidth: 8
UseTab: Never
SortIncludes: false
...

View File

@ -512,6 +512,6 @@ if __name__ == "__main__":
print 'git clang-format...'
# we don't want to format .proto files, so we specify every other supported extension
print commands.getoutput('git clang-format -style="{SortIncludes: false}" --extensions "c,h,m,mm,cc,cp,cpp,c++,cxx,hh,hxx,cu,java,js,ts,cs" --commit %s' % clang_format_commit)
print commands.getoutput('git clang-format --extensions "c,h,m,mm,cc,cp,cpp,c++,cxx,hh,hxx,cu,java,js,ts,cs" --commit %s' % clang_format_commit)
check_diff_for_keywords()