aboutsummaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
blob: 5d188ea3cf78eee97e6cd9113678d76c6f50bf8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Builtin Hooks]
google_java_format = true
pylint = true

[Tool Paths]
google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format-diff.py

[Hook Scripts]
# `^.` is a RegExr that matches any character at the beginning, so this hook
# is basically applied to ALL files in a git commit.
aospcheck_hook = ${REPO_ROOT}/tools/tradefederation/core/aosp_sha.sh ${PREUPLOAD_COMMIT} "^."