blob: 39009cbcf4cb3592d826c0a49066c411d135f877 [file] [log] [blame]
Remi NGUYEN VAN95264af2024-07-17 11:27:48 +09001[Builtin Hooks]
2bpfmt = true
3clang_format = true
4ktfmt = true
5
6[Builtin Hooks Options]
7clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp
8ktfmt = --kotlinlang-style
9
Lorenzo Colittia7d3c792020-11-27 17:11:56 +090010[Hook Scripts]
11checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
12
Remi NGUYEN VAN95264af2024-07-17 11:27:48 +090013ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --no-verify-format -f ${PREUPLOAD_FILES}
Paul Duffinb28cb442021-05-26 10:46:20 +010014
15hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}