Index: runtime/PRESUBMIT.py |
diff --git a/runtime/PRESUBMIT.py b/runtime/PRESUBMIT.py |
index 946f54f96328d720ace0e3ee5cda4dbb85c211b1..0170f2f98d67efb2b22f06ea1775c7b328b525f8 100644 |
--- a/runtime/PRESUBMIT.py |
+++ b/runtime/PRESUBMIT.py |
@@ -48,11 +48,17 @@ def CheckGn(input_api, output_api): |
return input_api.canned_checks.CheckGNFormatted(input_api, output_api) |
+def CheckFormatted(input_api, output_api): |
+ return input_api.canned_checks.CheckPatchFormatted(input_api, output_api) |
+ |
+ |
def CheckChangeOnUpload(input_api, output_api): |
return (RunLint(input_api, output_api) + |
- CheckGn(input_api, output_api)) |
+ CheckGn(input_api, output_api) + |
+ CheckFormatted(input_api, output_api)) |
def CheckChangeOnCommit(input_api, output_api): |
return (RunLint(input_api, output_api) + |
- CheckGn(input_api, output_api)) |
+ CheckGn(input_api, output_api) + |
+ CheckFormatted(input_api, output_api)) |