1[Builtin Hooks]
2bpfmt = true
3clang_format = true
4ktfmt = true
5
6[Builtin Hooks Options]
7clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
8ktfmt = --kotlinlang-style --include-dirs=photopicker
9
10[Hook Scripts]
11checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
12hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
13ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --no-verify-format -f ${PREUPLOAD_FILES}
14
15[Tool Paths]
16ktfmt = ${REPO_ROOT}/external/ktfmt/ktfmt.sh
17