1# Per-project `repo upload` hook settings. 2# https://android.googlesource.com/platform/tools/repohooks 3 4[Builtin Hooks] 5rustfmt = true 6ktfmt = true 7bpfmt = true 8clang_format = true 9 10[Builtin Hooks Options] 11ktfmt = --kotlinlang-style 12clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp 13 14[Options] 15ignore_merged_commits = true 16 17[Hook Scripts] 18winscope = ./tools/winscope/hooks/pre-upload ${PREUPLOAD_FILES} 19 20checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} 21 22ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --no-verify-format -f ${PREUPLOAD_FILES} 23 24[Tool Paths] 25ktfmt = ${REPO_ROOT}/external/ktfmt/ktfmt.sh 26