From 65dde13f1b3c29f2b63c98bb411da17903ebd390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20von=20der=20Ahe=CC=81?= Date: Fri, 18 Jan 2019 13:18:55 +0000 Subject: [PATCH] Don't check formatting of Front-End test cases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie3e55422dc891f3ba37df887f5c96751669dd4cc Reviewed-on: https://dart-review.googlesource.com/c/90224 Commit-Queue: Peter von der Ahé Commit-Queue: Kevin Millikin Auto-Submit: Peter von der Ahé Reviewed-by: Kevin Millikin --- PRESUBMIT.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index f7291e8c808..8bf1471aa2c 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -22,6 +22,8 @@ def _CheckFormat(input_api, identification, extension, windows, upstream = input_api.change._upstream unformatted_files = [] for git_file in input_api.AffectedTextFiles(): + if git_file.LocalPath().startswith("pkg/front_end/testcases/"): + continue filename = git_file.AbsoluteLocalPath() if filename.endswith(extension) and hasFormatErrors(filename=filename): old_version_has_errors = False