diff --git a/.golangci.yml b/.golangci.yml index 7f827841c..ac22cad0b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,5 +1,7 @@ run: #skip the protobuf generated files + deadline: 5m + timeout: 5m skip-dirs-use-default: true skip-dirs: - pb @@ -57,5 +59,6 @@ issues: - gofmt text: "File is not `gofmt`-ed with `-s`" exclude: - - 'declaration of "(err|ctx)" shadows declaration at' - - 'typecheck' + - 'declaration of "(err|ctx)" shadows declaration at' + - 'Error return value of .(.*\.Help|.*\.MarkFlagRequired|(os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Un)?Setenv). is not checked' + diff --git a/hack.go b/hack.go index 2dff6139a..21da2e87b 100644 --- a/hack.go +++ b/hack.go @@ -15,7 +15,7 @@ package pilosa import ( - "github.com/gogo/protobuf/proto" +"github.com/gogo/protobuf/proto" "github.com/molecula/featurebase/v2/pb" "github.com/molecula/featurebase/v2/pql" )