blob: f37ba7bc30af31d337250d78475e5ec0703e46b7 [file] [log] [blame] [edit]
[Hook Scripts]
cros format = cros format --check --commit ${PRESUBMIT_COMMIT} --include "*.gn" --include "*.gni" --include "*.md" --include "*.py" --exclude "*" ${PRESUBMIT_FILES}
cros lint = cros lint --commit ${PRESUBMIT_COMMIT} ${PRESUBMIT_FILES}
check-readme.py = ./common-mk/check-readme.py
check-owners = ./common-mk/check-owners.py
check-dir-metadata = ./common-mk/check-dir-metadata.py
check-libchrome = ../platform/libchrome/libchrome_tools/check-libchrome.py --commit ${PRESUBMIT_COMMIT} ${PRESUBMIT_FILES}
check-mojom = ./common-mk/check-mojom.py --commit ${PRESUBMIT_COMMIT}
check-synced-protos = ./common-mk/check-synced-protos.py --commit ${PRESUBMIT_COMMIT} ${PRESUBMIT_FILES}
no chrome_dev.conf = ./login_manager/presubmit.sh
[Hook Overrides]
clang_format_check: true
cros_license_check: true
filepath_chartype_check: true
git_cl_presubmit: false
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)
--exclude_regex=^vm_tools/sommelier/perfetto/sdk/perfetto\.(cc|h)
--exclude_regex=^vm_tools/sommelier/virtualization/linux-headers/
--exclude_regex=^vm_tools/reference_vm/data/usr/src
stray_whitespace_check:
--exclude_regex=/testdata/
long_line_check:
--exclude_regex=(/testdata/|^sepolicy/(policy|shared|file_contexts)/)
--exclude_regex=/tmpfiles.d/
--exclude_regex=/DIR_METADATA
cargo_clippy_check:
--project=chromeos-dbus-bindings/
--project=crosh/
--project=cronista/
--project=featured/rust-client/
--project=hiberman/
--project=hwsec-utils/:hwsec-utils/cargo_clippy.sh
--project=ippusb_bridge/
--project=libchromeos-rs/
--project=metrics/memd/
--project=os_install_service/
--project=vm_tools/9s/
--project=vm_tools/chunnel/
--project=resourced/
--project=sirenia/
--project=system_api/
tab_check:
--exclude_regex=chromeos-config/crosid/.*\.(c|h)$
--exclude_regex=vm_tools/reference_vm/data/.*\.(c|h)$