-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathPREUPLOAD.cfg
More file actions
29 lines (26 loc) · 954 Bytes
/
PREUPLOAD.cfg
File metadata and controls
29 lines (26 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[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,proto
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}
alint_hook = ${REPO_ROOT}/vendor/google/tools/alint