David Burger | f2b424b | 2020-06-12 10:49:28 -0600 | [diff] [blame] | 1 | # Ideally checks take place in PRESUBMIT.py. The git_cl_presubmit |
| 2 | # line here causes it to be invoked. |
David Burger | c014c09 | 2020-03-11 11:59:20 -0600 | [diff] [blame] | 3 | |
David Burger | f2b424b | 2020-06-12 10:49:28 -0600 | [diff] [blame] | 4 | [Hook Scripts] |
LaMont Jones | d2b4f78 | 2021-05-10 16:09:11 -0600 | [diff] [blame] | 5 | git_cl_presubmit = vpython $(which presubmit_support.py) $(if [[ "${PRESUBMIT_COMMIT}" = pre-submit ]]; then echo --commit; fi) |
Andrew Lamb | 8e70ad0 | 2020-03-23 08:40:44 -0600 | [diff] [blame] | 6 | |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 7 | [Hook Overrides] |
Prathmesh Prabhu | fd3d313 | 2020-03-20 12:09:50 -0700 | [diff] [blame] | 8 | # cros_license_check is on by default, but we need to specify it here in order |
| 9 | # for the below exclude_regex to work. |
| 10 | cros_license_check: True |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 11 | # gofmt_check is on by default, but we need to specify it here in order for the |
| 12 | # below exclude_regex to work. |
| 13 | gofmt_check: True |
| 14 | |
| 15 | [Hook Overrides Options] |
Andrew Lamb | 0ed1b90 | 2020-06-08 17:03:47 -0600 | [diff] [blame] | 16 | cros_license_check: --exclude_regex=recipes/recipes\.py$ --exclude_regex=payload_utils/test_data/.+conf$ --exclude_regex=payload_utils/pylintrc |
Andrew Lamb | bc029d3 | 2020-02-24 12:42:50 -0700 | [diff] [blame] | 17 | gofmt_check: --exclude_regex=\.pb\.go$ |