Remi NGUYEN VAN | 95264af | 2024-07-17 11:27:48 +0900 | [diff] [blame] | 1 | [Builtin Hooks] |
| 2 | bpfmt = true |
| 3 | clang_format = true |
| 4 | ktfmt = true |
| 5 | |
| 6 | [Builtin Hooks Options] |
| 7 | clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp |
| 8 | ktfmt = --kotlinlang-style |
| 9 | |
Lorenzo Colitti | a7d3c79 | 2020-11-27 17:11:56 +0900 | [diff] [blame] | 10 | [Hook Scripts] |
| 11 | checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} |
| 12 | |
Remi NGUYEN VAN | 95264af | 2024-07-17 11:27:48 +0900 | [diff] [blame] | 13 | ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --no-verify-format -f ${PREUPLOAD_FILES} |
Paul Duffin | b28cb44 | 2021-05-26 10:46:20 +0100 | [diff] [blame] | 14 | |
| 15 | hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT} |