forked from BRAINSia/BRAINSTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Support documents for better code formatting conformance
Use Update C++/C attributes for itk style conformance. Add script to assist with running clang-format on topic-branches Derived from https://github.com/Kitware/CMake/blob/master/Utilities/Scripts/clang-format.bash Define the .clang-format config file to enforce style that is compatible with automated enforcement. A code style that can be automatically enforced and integrated with IDE's for automated conformance. The code style options are defined at https://clang.llvm.org/docs/ClangFormatStyleOptions.html
- Loading branch information
1 parent
30b8145
commit d2fd21f
Showing
928 changed files
with
81,731 additions
and
81,897 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
.git* export-ignore | ||
.hooks* export-ignore | ||
.mailmap export-ignore | ||
|
||
*.bat -crlf | ||
*.bin -crlf | ||
*.jpg -crlf | ||
*.mha -crlf | ||
*.pdf -crlf | ||
*.png -crlf | ||
*.raw -crlf | ||
*.sh crlf=input | ||
*.sh.in crlf=input | ||
configure crlf=input | ||
cvsrmvend crlf=input | ||
imcp crlf=input | ||
imglob crlf=input | ||
imln crlf=input | ||
immv crlf=input | ||
imrm crlf=input | ||
imtest crlf=input | ||
install-sh crlf=input | ||
newalpha crlf=input | ||
newversion crlf=input | ||
remove_ext crlf=input | ||
vxl_doxy.pl crlf=input | ||
zap.pl crlf=input | ||
|
||
|
||
# Custom attribute to mark sources as using our C++/C code style. | ||
[attr]our-c-style whitespace=tab-in-indent,no-lf-at-eof hooks.style=KWStyle,clangformat | ||
|
||
*.c our-c-style | ||
*.h our-c-style | ||
*.cxx our-c-style | ||
*.hxx our-c-style | ||
*.txx our-c-style | ||
*.txt whitespace=tab-in-indent,no-lf-at-eof | ||
*.cmake whitespace=tab-in-indent,no-lf-at-eof | ||
|
||
# ExternalData content links must have LF newlines | ||
*.md5 crlf=input | ||
*.sha512 crlf=input | ||
|
||
# ghostflow-director GitHub automatic check for maximum repository file size | ||
# * hooks-max-size=100000 |
Oops, something went wrong.