git-cl: Remove formatting support for dart.
The support for Dart in canned_checks.CheckPatchFormatted can be removed. It was used in Chromium, when Chromium included a Dart SDK in its checkout. Dart was removed from Chromium years ago, and none of the current Dart repositories use this in their presubmit. Current repositories using Dart and depot_tools are dart.googlesource.com/sdk and Flutter engine. The SDK source tree has extensive custom code written for format checking in the presubmit, and Flutter engine has none. So adapting the exiting code to work with a new SDK location, or searching the path for any Dart SDK (which would be too fragile) would not be useful for these projects. The support code was introduced in: https://codereview.chromium.org/933383002 Bug: 1075502 Change-Id: I1ceed1ed6c1b4ff05071b0db1c52016f03c47c9b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2168851Reviewed-by:Anthony Polito <apolito@google.com> Reviewed-by:
Josip Sokcevic <sokcevic@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Showing
dart_format.py
deleted
100755 → 0
Please
register
or
sign in
to comment