summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-06-27 14:19:18 +0100
committerTreehugger Robot <treehugger-gerrit@google.com>2019-06-27 18:35:37 +0000
commit719de43158fff09b95d250a4776accd05b51634e (patch)
treefc237570fe635b649deb1e73f5966410b22216dc /PREUPLOAD.cfg
parente764f38a4b04e0a068631bc53d8737ba07639557 (diff)
downloadart-719de43158fff09b95d250a4776accd05b51634e.tar.gz
Enable gofmt preupload check
All existing .go files are compatible with gofmt -w. Test: attempt to upload badly formatted file. Change-Id: I027935a5a5d28dcfc84ed0fbb9e0ed0beb01cfa2
Diffstat (limited to 'PREUPLOAD.cfg')
-rw-r--r--PREUPLOAD.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 304c3c1704..6ab01dcdf1 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -4,6 +4,7 @@ check_generated_tests_up_to_date = tools/test_presubmit.py
[Builtin Hooks]
cpplint = true
bpfmt = true
+gofmt = true
[Builtin Hooks Options]
# Cpplint prints nothing unless there were errors.