summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
blob: 0bfd581d59597cb08f4b6a9b92feb917c947ea8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Builtin Hooks]
xmllint = true
commit_msg_changeid_field = true
ktfmt = true

[Builtin Hooks Options]
ktfmt = --kotlinlang-style --include-dirs=SafetyCenter,PermissionController,tests

[Hook Scripts]
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