1[Hook Scripts] 2checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} 3 4[Builtin Hooks] 5clang_format = true 6commit_msg_changeid_field = true 7commit_msg_test_field = true 8gofmt = true 9pylint3 = true 10rustfmt = true 11 12[Builtin Hooks Options] 13clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp 14rustfmt = --config-path=rustfmt.toml 15