Chromium Code Reviews| Index: presubmit_canned_checks.py |
| diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
| index 046424bef4dae723ffe34954109118e6a3679cd3..4fc94d162a7e442979b5462d08a8397bbaec0fb3 100644 |
| --- a/presubmit_canned_checks.py |
| +++ b/presubmit_canned_checks.py |
| @@ -675,7 +675,12 @@ def RunPylint(input_api, output_api, white_list=None, black_list=None, |
| return 'Pylint failed!' |
| result = None |
| - if not input_api.verbose: |
| + # Always run pylint and pass it all the py files at once. |
| + # Passing py files one at time is slower and can produce |
| + # different results. input_api.verbose used to be used |
| + # to enable this behaviour but differing behaviour in |
| + # verbose mode is not desirable. |
| + if 1: |
|
M-A Ruel
2012/09/21 20:08:07
if True:
|
| result = run_lint(sorted(files)) |
| else: |
| for filename in sorted(files): |