| [Builtin Hooks] | |
| clang_format = true | |
| [Builtin Hooks Options] | |
| # Only turn on clang-format check for the following subfolders. | |
| clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp | |
| jni/ | |
| native/ | |
| [Hook Scripts] | |
| checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} | |
| ktfmt_hook = ${REPO_ROOT}/external/ktfmt/ktfmt.py --check ${PREUPLOAD_FILES} | |
| ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --no-verify-format -f ${PREUPLOAD_FILES} |