blob: 0bfd581d59597cb08f4b6a9b92feb917c947ea8e [file] [log] [blame]
[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