diff options
author | oshima <oshima@chromium.org> | 2015-01-14 15:22:02 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-14 23:23:10 +0000 |
commit | 613d8037d8843b6aaab0da0e095fc39d65c3140e (patch) | |
tree | 1d0a507ff36a11d4c21b3ac05087a766455befd0 /chromeos/PRESUBMIT.py | |
parent | b18055e3d9b5b026c5c26b1650d38ef1eb4c97e6 (diff) | |
download | chromium_src-613d8037d8843b6aaab0da0e095fc39d65c3140e.zip chromium_src-613d8037d8843b6aaab0da0e095fc39d65c3140e.tar.gz chromium_src-613d8037d8843b6aaab0da0e095fc39d65c3140e.tar.bz2 |
Add formatting presubmit checks for all ash/chromeos directory
BUG=None
R=jamescook@chromium.org
Review URL: https://codereview.chromium.org/817983004
Cr-Commit-Position: refs/heads/master@{#311569}
Diffstat (limited to 'chromeos/PRESUBMIT.py')
-rw-r--r-- | chromeos/PRESUBMIT.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chromeos/PRESUBMIT.py b/chromeos/PRESUBMIT.py new file mode 100644 index 0000000..64582bf --- /dev/null +++ b/chromeos/PRESUBMIT.py @@ -0,0 +1,14 @@ +# Copyright 2015 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 chromeos. + +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 |