blob: 67140f34702fb4daaddc2e5ac93687e10f72e037 [file] [log] [blame] [edit]
# Per-project `repo upload` hook settings.
# https://android.googlesource.com/platform/tools/repohooks
[Builtin Hooks]
rustfmt = true
ktfmt = true
[Builtin Hooks Options]
ktfmt = --kotlinlang-style
[Options]
ignore_merged_commits = true
[Hook Scripts]
winscope = ./tools/winscope/hooks/pre-upload ${PREUPLOAD_FILES}
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --no-verify-format -f ${PREUPLOAD_FILES}
[Tool Paths]
ktfmt = ${REPO_ROOT}/external/ktfmt/ktfmt.sh