| # Copyright 2019 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| [Hook Scripts] |
| bazel style and lint checking = ./scripts/lint |
| check version numbers = ./scripts/check_versions |
| |
| [Hook Overrides] |
| long_line_check: true |
| cros_license_check: true |
| |
| [Hook Overrides Options] |
| # Bazel build files have no max line length: |
| # https://docs.bazel.build/versions/main/skylark/build-style.html#differences-with-python-style-guide |
| long_line_check: --exclude_regex=\bBUILD$ |
| # These files don't support comments, nowhere to put a license header. |
| cros_license_check: --exclude_regex=\bdeb-description$ |
| |