6394a73713
Test: Touch a Java file in tools/. `repo upload` gives warnings. Change-Id: I381b01038d8a0c0e90817e383ca5323908fdd592
10 lines
336 B
INI
10 lines
336 B
INI
[Builtin Hooks]
|
|
clang_format = true
|
|
|
|
[Builtin Hooks Options]
|
|
# Handle native codes only.
|
|
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
|
|
|
|
[Hook Scripts]
|
|
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
|
|
--file_whitelist tools/ updater_sample/
|