1[Builtin Hooks]
2ktfmt = true
3
4[Builtin Hooks Options]
5ktfmt = --kotlinlang-style --include-dirs=src,src_override,tests
6
7[Hook Scripts]
8checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
9
10flag_hook = ${REPO_ROOT}/frameworks/base/packages/SystemUI/flag_check.py --msg=${PREUPLOAD_COMMIT_MESSAGE} --files=${PREUPLOAD_FILES} --project=${REPO_PATH}
11
12[Tool Paths]
13ktfmt = ${REPO_ROOT}/external/ktfmt/ktfmt.sh
14