2024-07-17 11:27:48 +09:00
|
|
|
[Builtin Hooks]
|
|
|
|
|
bpfmt = true
|
|
|
|
|
clang_format = true
|
2025-03-28 10:04:34 -07:00
|
|
|
rustfmt = true
|
2024-07-17 11:27:48 +09:00
|
|
|
|
|
|
|
|
[Builtin Hooks Options]
|
|
|
|
|
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp
|
2025-03-28 10:04:34 -07:00
|
|
|
rustfmt = --config-path=rustfmt.toml
|
2024-07-17 11:27:48 +09:00
|
|
|
|
2020-11-27 17:11:56 +09:00
|
|
|
[Hook Scripts]
|
|
|
|
|
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
|
|
|
|
|
|
2024-12-13 12:13:08 +09:00
|
|
|
ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --disabled-rules comment-wrapping -f ${PREUPLOAD_FILES}
|
2021-05-26 10:46:20 +01:00
|
|
|
|
|
|
|
|
hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
|
2025-05-28 09:33:18 +00:00
|
|
|
|
|
|
|
|
python_hook = ${REPO_ROOT}/packages/modules/Connectivity/preupload_hook_script.py ${PREUPLOAD_FILES}
|
2025-05-30 11:36:49 +00:00
|
|
|
|
|
|
|
|
# go/alint for details
|
|
|
|
|
alint_hook = ${REPO_ROOT}/vendor/google/tools/alint
|