From 9af33fa208fbb6e2212c7f62d55bf644e1f731ae Mon Sep 17 00:00:00 2001 From: local_bot Date: Thu, 9 Jul 2020 03:26:20 +0000 Subject: [PATCH] Use inclusive parameters in PRESUBMIT.py R=dpranke@google.com Bug: 1098560 Change-Id: I22f7e89cafb6c8ab7e268afc7004c5ed57f12d12 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2288510 Reviewed-by: Dirk Pranke Commit-Queue: Josip Sokcevic --- PRESUBMIT.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 3cc40bf25..d0cc1bad3 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -38,7 +38,7 @@ def DepotToolsPylint(input_api, output_api): r'^tests/[^/]*\.py$', r'^recipe_modules/.*\.py$', # Allow recursive search in recipe modules. ] - files_to_skip = list(input_api.DEFAULT_BLOCK_LIST) + files_to_skip = list(input_api.DEFAULT_FILES_TO_SKIP) if os.path.exists('.gitignore'): with open('.gitignore') as fh: lines = [l.strip() for l in fh.readlines()] @@ -56,8 +56,8 @@ def DepotToolsPylint(input_api, output_api): return input_api.canned_checks.GetPylint( input_api, output_api, - allow_list=files_to_check, - block_list=files_to_skip, + files_to_check=files_to_check, + files_to_skip=files_to_skip, disabled_warnings=disabled_warnings)