Open blowekamp opened 1 month ago
@blowekamp I love this idea!!! I have found that pre-commit is much more reliable than our custom built tools. It makes it much easier to keep the codebase clean than does our current system.
After this initial commit is in place, I'd be happy to propose a set of other changes that will make maintenance a lot easier for new developers.
You may be interested in what I did in SimpleITK: https://github.com/SimpleITK/SimpleITK/blob/master/.pre-commit-config.yaml
The "pre-commit" be installed congenitally or with the
Utilities/GitSetup/setup-precommit
installation script.This version of clang-tidy can be run on all files by
pre-commit run -a
.