blob: c30139759377d96ca81823c4a397759e68185496 [file] [log] [blame]
Remi NGUYEN VAN95264af2024-07-17 11:27:48 +09001[Builtin Hooks]
2bpfmt = true
3clang_format = true
Remi NGUYEN VAN95264af2024-07-17 11:27:48 +09004
5[Builtin Hooks Options]
6clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp
Remi NGUYEN VAN95264af2024-07-17 11:27:48 +09007
Lorenzo Colittia7d3c792020-11-27 17:11:56 +09008[Hook Scripts]
9checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
10
Yuyang Huang002d8a62024-12-13 12:13:08 +090011ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --disabled-rules comment-wrapping -f ${PREUPLOAD_FILES}
Paul Duffinb28cb442021-05-26 10:46:20 +010012
13hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}