blob: 671205f655e801213645b5f3c30c7644ecad2ce1 [file] [log] [blame]
# Ideally checks take place in PRESUBMIT.py. The git_cl_presubmit
# line here causes it to be invoked.
[Hook Scripts]
git_cl_presubmit = presubmit_support.py --upload
[Hook Overrides]
# cros_license_check is on by default, but we need to specify it here in order
# for the below exclude_regex to work.
cros_license_check: True
# gofmt_check is on by default, but we need to specify it here in order for the
# below exclude_regex to work.
gofmt_check: True
[Hook Overrides Options]
cros_license_check: --exclude_regex=recipes/recipes\.py$ --exclude_regex=payload_utils/test_data/.+conf$ --exclude_regex=payload_utils/pylintrc
gofmt_check: --exclude_regex=\.pb\.go$