diff options
author | Mike Frysinger <vapier@chromium.org> | 2015-03-18 05:22:48 -0400 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-03-26 21:26:09 +0000 |
commit | 7e1eafc167e5e1e5f8415bf7eef33cffb9f0f743 (patch) | |
tree | f0f9a303eaacfd3548b6de03cfc69b99ea070e55 /PRESUBMIT.cfg | |
parent | 142a950aff428f87ca480e6a4695294ca21129aa (diff) | |
download | chrome-ec-7e1eafc167e5e1e5f8415bf7eef33cffb9f0f743.tar.gz |
presubmit: enable branch/checkpatch checks
We're moving the hardcoded check lists out of the pre-upload script.
BUG=chromium:466264
TEST=uploading a CL w/out a branch line is rejected
BRANCH=None
Change-Id: Ifa0f8c3b4be6a20355babb6f9d8896ac8d1fb2be
Signed-off-by: Mike Frysinger <vapier@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/262490
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'PRESUBMIT.cfg')
-rw-r--r-- | PRESUBMIT.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg index d02e3f3703..a4d1071940 100644 --- a/PRESUBMIT.cfg +++ b/PRESUBMIT.cfg @@ -1,8 +1,13 @@ [Hook Overrides] +branch_check: true +checkpatch_check: true # We are using Linux style indentation with tabs # The indentation is checked by checkpatch not the python script tab_check: false +[Hook Overrides Options] +checkpatch_check: --no-tree --ignore=MSLEEP,VOLATILE + [Hook Scripts] hook0 = util/presubmit_check.sh 2>&1 |