ITK
ITK copied to clipboard
Update clang-format version
Current clang-format is version 8, circa 2019. Update to a newer version to support system clang-format executables available in packages and also provide a ARM macOS binary.
- [ ] Update the ITK/.clang-format style configuration file
- [ ] Update CMake and shell scripts used for running clang-format: CMake/Clang.cmake*, Utilities/ClangFormat/DownloadClangFormat.cmake, Utilities/Maintenance/clang-format.bash, Utilities/Maintenance/git-clang-format.
- [ ] Re-run on the source tree.
- [ ] Update the module in ITKSphinxExamples
I have recently been looking into use pre-commit with the clang-format hooks, which pulls clang-format from pypi
Yes, possibly we just go to pre-commit. Discussed more in https://github.com/InsightSoftwareConsortium/ITK/issues/4235