From 8e0c2c98322f500cb4d8b66545b41a3e4fdcf0ed Mon Sep 17 00:00:00 2001 From: Eric Boren Date: Wed, 27 Sep 2017 13:03:35 -0400 Subject: Manually roll recipe DEPS Bug: skia: Change-Id: I55641aa4bef5a7ac863e3aae3d2902ef408f0384 Reviewed-on: https://skia-review.googlesource.com/52121 Commit-Queue: Eric Boren Reviewed-by: Ravi Mistry --- PRESUBMIT.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'PRESUBMIT.py') diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 4bea7099dd..c60392ea49 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -74,6 +74,9 @@ def _CheckChangeHasEol(input_api, output_api, source_file_filter=None): def _PythonChecks(input_api, output_api): """Run checks on any modified Python files.""" + pylint_disabled_files = ( + 'infra/bots/recipes.py', + ) pylint_disabled_warnings = ( 'F0401', # Unable to import. 'E0611', # No name in module. @@ -91,7 +94,8 @@ def _PythonChecks(input_api, output_api): for affected_file in input_api.AffectedSourceFiles(None): affected_file_path = affected_file.LocalPath() if affected_file_path.endswith('.py'): - affected_python_files.append(affected_file_path) + if affected_file_path not in pylint_disabled_files: + affected_python_files.append(affected_file_path) return input_api.canned_checks.RunPylint( input_api, output_api, disabled_warnings=pylint_disabled_warnings, -- cgit v1.2.3