blob: f88c10e06c701a9ee38f03191dea64832c5e6285 [file] [log] [blame]
Cindy Liu0caef672023-08-12 16:56:33 -07001# Per-project `repo upload` hook settings.
2# https://android.googlesource.com/platform/tools/repohooks
3
4[Options]
5ignore_merged_commits = true
6
7[Builtin Hooks]
8pylint3 = true
9cpplint = true
10clang_format = true
11
12[Builtin Hooks Options]
13clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
14
15[Hook Scripts]
16buildifier = ${REPO_ROOT}/scripts/preupload-hooks/run_buildifier.sh ${PREUPLOAD_COMMIT}
17yapf-diff = ${REPO_ROOT}/scripts/preupload-hooks/yapf-diff.sh ${PREUPLOAD_COMMIT}