blob: 565cf1ea3233096412b5a632fa83cbd820a41048 [file] [log] [blame]
[Options]
ignore_merged_commits = true
[Builtin Hooks]
bpfmt = true
clang_format = true
commit_msg_changeid_field = true
commit_msg_bug_field = true
cpplint = true
google_java_format = true
ktfmt = true
rustfmt = true
[Builtin Hooks Options]
bpfmt = -s
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,hpp
ktfmt = --kotlinlang-style
rustfmt = --config-path=rustfmt.toml
[Hook Scripts]
# google_java_format only fixes indentation. This has Android specific checks like "m" prefix.
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
--config_xml checkstyle.xml
-fw android/app/src/com/android/bluetooth/
android/app/tests/src/com/android/bluetooth/
framework/
service/
yapf_hook = ./tools/run_yapf.py ${PREUPLOAD_FILES}