Call new CheckJsonParses in PRESUBMIT

I have verified that all JSON files currently in depot_tools
pass this check.

Change-Id: I8247653a8161adf69b20d0a837b9f7723936ade2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1620308
Reviewed-by: Sean McCullough <seanmccullough@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>
changes/08/1620308/4
Aaron Gable 6 years ago committed by Commit Bot
parent aca5b6aca8
commit 1318a30f19

@ -61,6 +61,8 @@ def CommonChecks(input_api, output_api, tests_to_black_list):
results.extend(input_api.canned_checks.CheckOwners(input_api, output_api))
results.extend(input_api.canned_checks.CheckOwnersFormat(
input_api, output_api))
results.extend(input_api.canned_checks.CheckJsonParses(
input_api, output_api))
# Run only selected tests on Windows.
tests_to_white_list = [r'.*test\.py$']

Loading…
Cancel
Save