summaryrefslogtreecommitdiff
path: root/PRESUBMIT.cfg
blob: eac83bb0c571cdbe00c6489422272cfb1cf8df4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[Hook Overrides]
branch_check: true
checkpatch_check: true
kerneldoc_check: true
signoff_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,SPDX_LICENSE_TAG
kerneldoc_check: --include_regex=\bec_commands\.h$

cros_license_check :
  --exclude_regex=^third_party/bmi220/
  --exclude_regex=^third_party/bmi260/
  --exclude_regex=^third_party/boringssl/
  --exclude_regex=^third_party/incbin/
  --exclude_regex=^third_party/libaeabi-cortexm0/
  --exclude_regex=^third_party/linux/
  --exclude_regex=^third_party/sha2/
  --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
ec_commands_h = util/linux_ec_commands_h_check.sh
zmake_preupload = zephyr/zmake/pre-upload.sh ${PRESUBMIT_FILES}
migrated_files = util/migrated_files.sh ${PRESUBMIT_FILES}