blob: f88c10e06c701a9ee38f03191dea64832c5e6285 [file] [log] [blame]
# Per-project `repo upload` hook settings.
# https://android.googlesource.com/platform/tools/repohooks
[Options]
ignore_merged_commits = true
[Builtin Hooks]
pylint3 = true
cpplint = true
clang_format = true
[Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
[Hook Scripts]
buildifier = ${REPO_ROOT}/scripts/preupload-hooks/run_buildifier.sh ${PREUPLOAD_COMMIT}
yapf-diff = ${REPO_ROOT}/scripts/preupload-hooks/yapf-diff.sh ${PREUPLOAD_COMMIT}