beeps | 48fc6f5 | 2013-01-07 14:36:40 -0800 | [diff] [blame] | 1 | # This config file disables some of the ChromiumOS source style checks and |
| 2 | # adds a hook to validate .py files. Comment out the disable-flags for |
| 3 | # any checks you want to leave enabled. Edit utils/pylintrc to disable any |
| 4 | # pylint checks. |
Chris Sosa | 3ee5d5c | 2012-02-23 11:18:41 -0800 | [diff] [blame] | 5 | |
| 6 | [Hook Overrides] |
| 7 | cros_license_check: false |
Abe Levkoy | f29c415 | 2019-03-29 11:06:33 -0600 | [diff] [blame] | 8 | long_line_check: true |
beeps | 48fc6f5 | 2013-01-07 14:36:40 -0800 | [diff] [blame] | 9 | |
| 10 | [Hook Scripts] |
Brian Norris | 33288d3 | 2018-01-26 14:42:51 -0800 | [diff] [blame] | 11 | pylint = ./utils/run_pylint.py |
| 12 | check_control_files = ./site_utils/presubmit_hooks/check_control_files.py |
Marc Herbert | a79930e | 2015-11-19 16:27:01 -0800 | [diff] [blame] | 13 | # Not enabled because it takes a few minutes. Put here for convenience |
| 14 | # and as a bookmark. TODO: http://crbug.com/558819 some wrapper script |
| 15 | # computing optimal -r options based on PRESUBMIT_FILES. |
Brian Norris | 33288d3 | 2018-01-26 14:42:51 -0800 | [diff] [blame] | 16 | # unittest_suite = ./utils/unittest_suite.py # -r server/ |
| 17 | check_json_files = ./site_utils/presubmit_hooks/check_json_files.py |
| 18 | test_lucifer = ./bin/test_lucifer |
Abe Levkoy | f29c415 | 2019-03-29 11:06:33 -0600 | [diff] [blame] | 19 | |
| 20 | [Hook Overrides Options] |
Shuhei Takahashi | c575463 | 2019-10-29 12:45:20 +0900 | [diff] [blame] | 21 | long_line_check: --exclude_regex=\bfirmware_Cr50ConsoleCommands/pinmux$ --exclude_regex=\bcontrol(\.[\S]+)?$ |