| # Per-project `repo upload` hook settings. |
| # https://android.googlesource.com/platform/tools/repohooks |
| |
| [Builtin Hooks] |
| rustfmt = true |
| |
| [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} |
| |
| ktfmt_hook = ${REPO_ROOT}/external/ktfmt/ktfmt.py --check -i ${REPO_ROOT}/frameworks/base/ktfmt_includes.txt ${PREUPLOAD_FILES} |
| |
| ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --no-verify-format -f ${PREUPLOAD_FILES} |