Add tools/ to the style-checking path.
Test: Touch a Java file in tools/. `repo upload` gives warnings. Change-Id: I381b01038d8a0c0e90817e383ca5323908fdd592
This commit is contained in:
+1
-2
@@ -7,5 +7,4 @@ 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}
|
||||
-fw updater_sample/
|
||||
|
||||
--file_whitelist tools/ updater_sample/
|
||||
|
||||
Reference in New Issue
Block a user