# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

"""Presubmit script for app_list.

See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built into depot_tools.
"""

def CheckChangeOnUpload(input_api, output_api):
  results = []
  results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
  return results

Add git cl format presubmit warning.
ui/app_list: Add git cl format presubmit warning.

Upon patch upload 'git cl format' is run on the diff and outputs a
warning if the diff has style violations, saving manual review
time for coding style.

BUG=None
TEST=None
R=xiyuan@chromium.org

Review URL: https://codereview.chromium.org/169003002

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@251724 0039d316-1c4b-4281-b951-d872f2087c98
