summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
blob: e032c4df7d953e423afc13a019c041235ef17573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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}