blob: ac6abef189c0cbc494dcc542bc5046ead8f625c1 [file] [log] [blame]
[Hook Scripts]
# The seemingly-redundant up then back into this directory is because other
# bundles e.g. tast-tests-private symlink to this PRESUBMIT.cfg. If we used
# tools/blah then we'd need a symlink for every tool and every other repo, so
# instead use a path which ends up in the right place whether called from
# tast-tests or another bundle.
tast_lint = ../tast-tests/tools/run_lint.sh -commit=${PRESUBMIT_COMMIT}
crostini_lint = ../tast-tests/tools/run_crostini_lint.sh ${PRESUBMIT_COMMIT}
[Hook Overrides]
stray_whitespace_check: true
[Hook Overrides Options]
# This whitespace check isn't Golang-aware (e.g., for string literals). Just
# rely on tast-lint.
stray_whitespace_check: --exclude_regex=\.go$