summaryrefslogtreecommitdiff
path: root/PRESUBMIT.cfg
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2022-02-07 13:12:56 -0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-11 22:30:25 +0000
commit7d04c7a1acd9e2eb20b36d4d31fd7aa692507d65 (patch)
treea017b63010b806554ce1ec49c3ea68061bfad4d8 /PRESUBMIT.cfg
parent27e162afc7b3da5c4afec43ad0d057b49faf7203 (diff)
downloadchrome-ec-7d04c7a1acd9e2eb20b36d4d31fd7aa692507d65.tar.gz
Reland "Enable "cros lint" presubmit check"
This is a reland of commit b294077eed6da053eeca07ce5546830d5404c9a1 Now that zmake has a pylint config file, this should be safe to enable. Original change's description: > Enable "cros lint" presubmit check > > The cpplint check run by cros lint is disabled with the CPPLINT.cfg file > since it doesn't apply. Other linters, such as Python and Shell are > applicable and will be run. > > BRANCH=none > BUG=b:217969201 > TEST=none > > Signed-off-by: Tom Hughes <tomhughes@chromium.org> > Change-Id: Ie9aba283d7bf927913ff834c586ec9e8d0e9e9a1 > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3444587 > Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> BRANCH=none BUG=b:217969201 TEST=none Change-Id: I796a191333128c35903dd60237e677f854132c50 Signed-off-by: Jeremy Bettis <jbettis@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3581652 Reviewed-by: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'PRESUBMIT.cfg')
-rw-r--r--PRESUBMIT.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg
index c726f14214..eac83bb0c5 100644
--- a/PRESUBMIT.cfg
+++ b/PRESUBMIT.cfg
@@ -23,6 +23,7 @@ cros_license_check :
--exclude_regex=^third_party/unacl-curve25519/
[Hook Scripts]
+cros lint = cros lint ${PRESUBMIT_FILES}
presubmit_check = util/presubmit_check.sh
config_option_check = util/config_option_check.py
host_command_check = util/host_command_check.sh