Commit fff3d68f authored by Alexander Cooper's avatar Alexander Cooper Committed by Commit Bot

Update VR PRESUBMITs to inclusive language

Convert "white_list" from the PRESUBMIT input_api to the newer variable
name "files_to_check"

Change-Id: If2751802ad6b3da3cd365bca506b4fee995db0ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2313996
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790936}
parent b0b7e17f
......@@ -23,7 +23,7 @@ INCLUDE_CPP_FILES_ONLY = (r'.*\.(cc|h)$',)
def _CheckChangeLintsClean(input_api, output_api):
sources = lambda x: input_api.FilterSourceFile(
x, white_list=INCLUDE_CPP_FILES_ONLY)
x, files_to_check=INCLUDE_CPP_FILES_ONLY)
return input_api.canned_checks.CheckChangeLintsClean(
input_api, output_api, sources, LINT_FILTERS, VERBOSITY_LEVEL)
......
......@@ -23,7 +23,7 @@ INCLUDE_CPP_FILES_ONLY = (r'.*\.(cc|h)$',)
def _CheckChangeLintsClean(input_api, output_api):
sources = lambda x: input_api.FilterSourceFile(
x, white_list=INCLUDE_CPP_FILES_ONLY)
x, files_to_check=INCLUDE_CPP_FILES_ONLY)
return input_api.canned_checks.CheckChangeLintsClean(
input_api, output_api, sources, LINT_FILTERS, VERBOSITY_LEVEL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment