summaryrefslogtreecommitdiffstats
path: root/chromeos/PRESUBMIT.py
diff options
context:
space:
mode:
authoroshima <oshima@chromium.org>2015-01-14 15:22:02 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-14 23:23:10 +0000
commit613d8037d8843b6aaab0da0e095fc39d65c3140e (patch)
tree1d0a507ff36a11d4c21b3ac05087a766455befd0 /chromeos/PRESUBMIT.py
parentb18055e3d9b5b026c5c26b1650d38ef1eb4c97e6 (diff)
downloadchromium_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.py14
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