File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 2121 sha : 28c0ea8a67a3e2dbbf4822ef44e85b63a0080a29
2222 hooks :
2323 - id : clang-formater
24- - repo : https://github.com/dnephin /pre-commit-golang
25- sha : e4693a4c282b4fc878eda172a929f7a6508e7d16
24+ - repo : https://github.com/PaddlePaddle /pre-commit-golang
25+ sha : 6bce8cc8a6ce601bcf6feccf6bfbd43fe04ccbeb
2626 hooks :
2727 - id : go-fmt
28- files : (.*\.go)
28+ types : [go]
2929 - id : go-lint
30- files : (.*\.go)
30+ types : [go]
31+ - id : gometalinter
32+ types : [go]
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ before_install:
4141 - pip install rarfile
4242 - curl https://glide.sh/get | bash
4343 - eval "$(GIMME_GO_VERSION=1.8.3 gimme)"
44+ - go get -u github.com/alecthomas/gometalinter
45+ - gometalinter --install
4446 - |
4547 function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
4648script :
You can’t perform that action at this time.
0 commit comments