Xixuan Wu | 08a56c4 | 2018-03-01 15:07:18 -0800 | [diff] [blame] | 1 | [Hook Scripts] |
Xixuan Wu | 7b0a713 | 2018-03-27 16:18:24 -0700 | [diff] [blame] | 2 | hook0 = ../../chromite/bin/cros lint ${PRESUBMIT_FILES} |
Xixuan Wu | 08a56c4 | 2018-03-01 15:07:18 -0800 | [diff] [blame] | 3 | |
4 | [Hook Overrides] | ||||
5 | json_check: true | ||||
6 | long_line_check: true | ||||
7 | |||||
8 | [Hook Overrides Options] | ||||
9 | # Long lines are checked by pylint. Built-in long_line_check is too naive and | ||||
10 | # ignorant of Google Python coding style exceptions. | ||||
11 | long_line_check: --exclude_regex=\.py$ |