This reverts commit 9fecf5dee1.
Reason for revert: <Removing alint hook from individual repos as we get ready to roll it out with a global flag>
Bug: 441250579
Change-Id: I12c4c31caa9e8881f4703a1022b607c6744a0c36
17 lines
664 B
INI
17 lines
664 B
INI
[Builtin Hooks]
|
|
bpfmt = true
|
|
clang_format = true
|
|
rustfmt = true
|
|
|
|
[Builtin Hooks Options]
|
|
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp
|
|
rustfmt = --config-path=rustfmt.toml
|
|
|
|
[Hook Scripts]
|
|
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
|
|
|
|
ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --disabled-rules comment-wrapping -f ${PREUPLOAD_FILES}
|
|
|
|
hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
|
|
|
|
python_hook = ${REPO_ROOT}/packages/modules/Connectivity/preupload_hook_script.py ${PREUPLOAD_FILES}
|