Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: base/PRESUBMIT.py

Issue 2489153003: Enforce clang-format in //base (Closed)
Patch Set: presubmit only Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/PRESUBMIT.py
diff --git a/base/PRESUBMIT.py b/base/PRESUBMIT.py
index 7fc8107658c15a1c50fc633551b8618c958a5032..77686044068d719affa6613edaa5f28ef11cb465 100644
--- a/base/PRESUBMIT.py
+++ b/base/PRESUBMIT.py
@@ -35,6 +35,8 @@ def _CommonChecks(input_api, output_api):
"""Checks common to both upload and commit."""
results = []
results.extend(_CheckNoInterfacesInBase(input_api, output_api))
+ results.extend(
+ input_api.canned_checks.CheckPatchFormatted(input_api, output_api))
danakj 2016/11/10 23:06:51 You might want this only on upload though? I'm not
return results
def CheckChangeOnUpload(input_api, output_api):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698