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