1[Options] 2ignore_merged_commits = true 3 4[Builtin Hooks] 5aidl_format = true 6commit_msg_bug_field = true 7google_java_format = true 8clang_format = true 9rustfmt = true 10bpfmt = true 11ktfmt = true 12 13[Builtin Hooks Options] 14rustfmt = --config-path=rustfmt.toml 15# Only turn on clang-format check for C and C++ headers and sources 16clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp 17ktfmt = --kotlinlang-style 18 19[Hook Scripts] 20checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} 21 -fw android/app/src/com/android/bluetooth/ 22 android/app/lib/mapapi/com/android/bluetooth/mapapi/ 23 android/app/tests/src/com/android/bluetooth/ 24 framework/ 25 service/ 26aosp_first = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} ${PREUPLOAD_FILES} 27yapf_hook = ./system/tools/scripts/yapf_checker.py 28 29[Tool Paths] 30ktfmt = ${REPO_ROOT}/packages/modules/Bluetooth/tools/ktfmt 31