blob: 111cd407d11a2c2e58b5d3d84634b2bd02737f45 [file] [log] [blame]
[Hook Scripts]
cros lint = ../../chromite/bin/cros lint ${PRESUBMIT_FILES}
gnlint = ./common-mk/gnlint.py ${PRESUBMIT_FILES}
gnlint unittest = ./common-mk/gnlint_unittest.py
check-readme.py = ./common-mk/check-readme.py
check-owners = ./common-mk/check-owners.py
[Hook Overrides]
clang_format_check: true
cros_license_check: true
filepath_chartype_check: true
long_line_check: true
project_prefix_check: true
stray_whitespace_check: true
cargo_clippy_check: true
[Hook Overrides Options]
cros_license_check:
--exclude_regex=(/testdata/|^sepolicy/policy/|^sepolicy/shared/|^verity/)
--exclude_regex=^camera/(hal/mediatek|hal/intel|hal/rockchip|android)/
--exclude_regex=^nnapi/includes/android/
--exclude_regex=^chaps/pkcs11/(pkcs11f\.h|pkcs11\.h|pkcs11t\.h)
stray_whitespace_check:
--exclude_regex=/testdata/
long_line_check:
--exclude_regex=(/testdata/|^sepolicy/policy/|^sepolicy/shared/)
cargo_clippy_check:
--project=arc/vm/libvda/rust/
--project=libchromeos-rs/
--project=vm_tools/p9/
--project=vm_tools/9s/