File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ not git grep -l 'x/net/context' -- "*.go"
8888git grep -l ' "math/rand"' -- " *.go" 2>&1 | not grep -v ' ^examples\|^interop/stress\|grpcrand\|^benchmark\|wrr_test'
8989
9090# - Do not use "interface{}"; use "any" instead.
91- git grep -l ' interface{}' -- " *.go" 2>&1 | not grep -v ' \.pb\.go\|protoc-gen-go-grpc'
91+ git grep -l ' interface{}' -- " *.go" 2>&1 | not grep -v ' \.pb\.go\|protoc-gen-go-grpc\|grpc_testing_not_regenerate '
9292
9393# - Do not call grpclog directly. Use grpclog.Component instead.
9494git grep -l -e ' grpclog.I' --or -e ' grpclog.W' --or -e ' grpclog.E' --or -e ' grpclog.F' --or -e ' grpclog.V' -- " *.go" | not grep -v ' ^grpclog/component.go\|^internal/grpctest/tlogger_test.go'
@@ -127,7 +127,7 @@ staticcheck -go 1.19 -checks 'all' ./... > "${SC_OUT}" || true
127127grep -v " (ST1000)" " ${SC_OUT} " | grep -v " (SA1019)" | grep -v " (ST1003)" | not grep -v " (ST1019)\|\(other import of\)"
128128
129129# Exclude underscore checks for generated code.
130- grep " (ST1003)" " ${SC_OUT} " | not grep -v ' \(.pb.go:\)\|\(code_string_test.go:\)'
130+ grep " (ST1003)" " ${SC_OUT} " | not grep -v ' \(.pb.go:\)\|\(code_string_test.go:\)\|\(grpc_testing_not_regenerate\) '
131131
132132# Error for duplicate imports not including grpc protos.
133133grep " (ST1019)\|\(other import of\)" " ${SC_OUT} " | not grep -Fv ' XXXXX PleaseIgnoreUnused
@@ -152,6 +152,7 @@ grep "(SA1019)" "${SC_OUT}" | not grep -Fv 'XXXXX PleaseIgnoreUnused
152152XXXXX Protobuf related deprecation errors:
153153"github.com/golang/protobuf
154154.pb.go:
155+ grpc_testing_not_regenerate
155156: ptypes.
156157proto.RegisterType
157158XXXXX gRPC internal usage deprecation errors:
You can’t perform that action at this time.
0 commit comments