From 069849df14950cd6f3bb5a37da41a60c5d988e31 Mon Sep 17 00:00:00 2001 From: Brian Wilkerson Date: Mon, 18 May 2026 07:13:11 -0700 Subject: [PATCH] Update the presubmit script to stop running a removed test The test was removed in https://dart-review.googlesource.com/c/sdk/+/503620. Change-Id: I271fbff176816c526d8221e0e8cbd3f52dcfbef8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/503666 Reviewed-by: Paul Berry Auto-Submit: Brian Wilkerson Commit-Queue: Ryan Macnak Reviewed-by: Ryan Macnak --- PRESUBMIT.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 1df59d9ba67..39aa70a415f 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -399,23 +399,6 @@ def _CheckAnalyzerFiles(input_api, output_api): long_text=stdout) ] - # Verify the linter's `example/all.yaml` file. - if any(f.LocalPath().startswith('pkg/linter/lib/src/rules') - for f in input_api.AffectedFiles()): - args = [ - "tools/sdks/dart-sdk/bin/dart", - "pkg/linter/tool/checks/check_all_yaml.dart", - ] - stdout = input_api.subprocess.check_output(args).strip() - if not stdout: - return [] - - return [ - output_api.PresubmitError( - "The check_all_yaml linter tool revealed issues:", - long_text=stdout) - ] - # TODO(srawlins): Check more: # * "verify_sorted" for individual modified (not deleted) files in # Analyzer-team-owned directories.