xref: /aosp_15_r20/external/vboot_reference/PRESUBMIT.cfg (revision 8617a60d3594060b7ecbd21bc622a7c14f3cf2bc)
1[Hook Scripts]
2cros format = cros format --check --exclude "*.[ch]" --commit ${PRESUBMIT_COMMIT} ${PRESUBMIT_FILES}
3
4[Hook Overrides]
5branch_check: true
6cargo_clippy_check: true
7checkpatch_check: true
8git_cl_presubmit: false
9long_line_check: false
10signoff_check: true
11
12# We are using Linux style indentation with tabs
13# The indentation is checked by checkpatch not the python script
14tab_check: false
15
16[Hook Overrides Options]
17cros_license_check: --exclude_regex=^(\.checkpatch\.conf|tests/swap_ec_rw_data/.*)$
18
19cargo_clippy_check:
20  --project=rust/vboot_reference-sys
21