Commit Graph

8 Commits

Author SHA1 Message Date
Tim Hockin
d187d7effa Rewrite typecheck against x/tools/go/packages
This runs much faster than before.  This change removes all of the
async status output because all of the compute time is spent inside
go/packages, with no opportunity to update the status.

Adds testdata code to prove it fails when expected.
2020-06-26 11:12:06 -07:00
Davanum Srinivas
f981628ce8
move linting dependencies to hack/tools/tools.go
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:38 -04:00
Davanum Srinivas
12146cb4df
Do not include bazel related deps in root go.mod
- add ./hack/tools/go.mod, this makes ./hack/tools a distinct module
- hack/tools/tools.go undescore imports bazel related tools, over time we
can add others.
- hack/*.sh scripts will cd to hack/tools and go install tools from there

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-19 22:01:50 -04:00
Jin Hase
093fd4ab02 Add comments in several hack/verify-*.sh(s-v) 2020-01-21 19:10:46 +09:00
Kubernetes Prow Robot
32d8b50fd8
Merge pull request #81812 from Huang-Wei/fix-bug-staticcheck
Tolerate ending slash when running staticcheck
2019-08-25 19:54:20 -07:00
Wei Huang
b2751cf821
Tolerate ending slash when running staticcheck 2019-08-25 11:10:40 -07:00
Tim Allclair
e1a5637c41 staticcheck follow-up to address late feedback 2019-08-20 12:33:12 -07:00
Tim Allclair
76e40248a2 Add static analysis verify script 2019-08-19 17:34:02 -07:00