| # Global `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] |
| yapf-diff = ${REPO_ROOT}/scripts/preupload-hooks/yapf-diff.sh ${PREUPLOAD_COMMIT} |
| # Add the following line to a project-local config file to bypass yapf-diff: |
| # yapf-diff = ${REPO_ROOT}/scripts/preupload-hooks/yapf-diff.sh --bypass |