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