mkdir build
cd build
cmake ..
make demo
../bin/demopip install pre-commit
pre-commit install
# this will install a pre-commit hook in .git/hooks, then using clang-format to check your code styleIf you want to test if pre-commit work
git commit
If not work
pre-commit uninstall
pre-commit install
or contact me: [email protected]