aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2023-04-03 11:39:40 -0400
committerMike Frysinger <vapier@google.com>2023-04-03 11:40:30 -0400
commit1f040439f678d124eb29c7ccffc98a7d06efbced (patch)
tree1ad3c7880ce82a72931fdf8214508d48db662c19
parentb17292ed6a0eb33616d72e0b5559de7b59080eb2 (diff)
downloadpuffin-1f040439f678d124eb29c7ccffc98a7d06efbced.tar.gz
PRESUBMIT.cfg: update cros lint usageandroid-u-beta-1-gpl
Drop gnlint as it's in cros lint now. Use the new --commit option. Bug: None Test: CQ passes Change-Id: I8746f8dabbd75c985208c0d0d1a199a3efed102c
-rw-r--r--PRESUBMIT.cfg3
1 files changed, 1 insertions, 2 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg
index 9993474..e037261 100644
--- a/PRESUBMIT.cfg
+++ b/PRESUBMIT.cfg
@@ -1,6 +1,5 @@
[Hook Scripts]
-hook0=../../../../chromite/bin/cros lint ${PRESUBMIT_FILES}
-hook1=../../../platform2/common-mk/gnlint.py ${PRESUBMIT_FILES}
+cros lint = cros lint --commit ${PRESUBMIT_COMMIT} ${PRESUBMIT_FILES}
[Hook Overrides]
clang_format_check: true