FrankYang0529 commented on code in PR #73874:
URL: https://github.com/apache/airflow/pull/73874#discussion_r4131233975
##########
go-sdk/.pre-commit-config.yaml:
##########
@@ -66,3 +66,10 @@ repos:
additional_dependencies: [github.com/segmentio/golines@latest,
mvdan.cc/[email protected]]
types: [go]
language: golang
+ - id: staticcheck
+ name: Check naming in Go code
+ entry: staticcheck -checks ST1003 ./...
+ additional_dependencies: [honnef.co/go/tools/cmd/[email protected]]
Review Comment:
pkg.go.dev only hosts docs, so it can't serve the module. `go install
pkg.go.dev/honnef.co/go/tools/cmd/[email protected]` fails with `no go-import
meta tags`. `honnef.co/go/tools` is the module path declared in staticcheck's
go.mod.
https://github.com/dominikh/go-tools/blob/ff63afafc529279f454e02f1d060210bd4263951/go.mod#L1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]