blob: 67c9d9cfd1702968d5113f233d4ea77c1cc5f866 [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]
# Enforce formatting of subprojects. If you consider adding a project, run
# clang-format -i -style=file $(find <project>/ -name '*.h' -o -name '*.cc')
# first, check in the changes and then add it to this list.
clang_format_check:
arc/
authpolicy/
biod/
bluetooth/
buffet/
camera/
cfm-device-updater/
chaps/
crash-reporter/
cros-disks/
crosdns/
croslog/
cups_proxy/
dev-install/
diagnostics/
dlcservice/
goldfishd/
hardware_verifier/
hermes/
image-burner/
imageloader/
init/
installer/
kerberos/
libchromeos-ui/
libcontainer/
libipp/
libpasswordprovider/
login_manager/
lorgnette/
metrics/
mist/
modemfwd/
ocr/
oobe_config/
p2p/
policy_utils/
power_manager/
print_tools/
run_oci/
runtime_probe/
shill/
smbfs/
smbprovider/
vm_tools/
vpn-manager/
webserver/
cros_license_check:
--exclude_regex=(/testdata/|^sepolicy/policy/|^sepolicy/shared/)
stray_whitespace_check:
--exclude_regex=/testdata/
long_line_check:
--exclude_regex=/testdata/
cargo_clippy_check:
--project=arc/vm/libvda/rust/