blob: e8a5c75dbe9b9585531ce69da51654f74db8ad74 [file] [log] [blame]
Myles Watson1c4cdfe2016-11-29 10:58:00 -08001[Options]
2ignore_merged_commits = true
3
4[Builtin Hooks]
5clang_format = true
ThiƩbaud Weksteen810c25e2020-12-14 11:34:16 +01006rustfmt = true
7
8[Builtin Hooks Options]
9rustfmt = --config-path=rustfmt.toml
Jack He50fbbb22022-01-19 17:36:58 -080010# Only turn on clang-format check for C and C++ headers and sources
11clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp
Myles Watson1c4cdfe2016-11-29 10:58:00 -080012
Jack Hea7faba32018-08-28 14:36:46 -070013[Hook Scripts]
William Escande51f58d92021-12-16 16:25:49 +010014checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
15 -fw android/app/src/com/android/bluetooth/
16 android/app/lib/mapapi/com/android/bluetooth/mapapi/
17 android/app/tests/src/com/android/bluetooth/
Jack He50fbbb22022-01-19 17:36:58 -080018 framework/
William Escande3188e3d2022-01-21 16:37:17 +010019 service/
William Escande51f58d92021-12-16 16:25:49 +010020aosp_first = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} ${PREUPLOAD_FILES}
Chris Manton60bb45b2021-11-07 19:40:50 -080021yapf_hook = ./system/tools/scripts/yapf_checker.py