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