blob: 95e808fde3b63e92141fda32152b5e88d6e944ce [file] [log] [blame]
beeps48fc6f52013-01-07 14:36:40 -08001# 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 Sosa3ee5d5c2012-02-23 11:18:41 -08005
6[Hook Overrides]
7cros_license_check: false
Abe Levkoyf29c4152019-03-29 11:06:33 -06008long_line_check: true
beeps48fc6f52013-01-07 14:36:40 -08009
10[Hook Scripts]
Brian Norris33288d32018-01-26 14:42:51 -080011pylint = ./utils/run_pylint.py
12check_control_files = ./site_utils/presubmit_hooks/check_control_files.py
Marc Herberta79930e2015-11-19 16:27:01 -080013# 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 Norris33288d32018-01-26 14:42:51 -080016# unittest_suite = ./utils/unittest_suite.py # -r server/
17check_json_files = ./site_utils/presubmit_hooks/check_json_files.py
18test_lucifer = ./bin/test_lucifer
Abe Levkoyf29c4152019-03-29 11:06:33 -060019
20[Hook Overrides Options]
Shuhei Takahashic5754632019-10-29 12:45:20 +090021long_line_check: --exclude_regex=\bfirmware_Cr50ConsoleCommands/pinmux$ --exclude_regex=\bcontrol(\.[\S]+)?$