Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 395 forks source link

`make test` fails on linter #506

Closed seanknox closed 6 years ago

seanknox commented 6 years ago

make test doesn't run unit tests due to a number of linter failures:

$ make test
scripts/lint.sh
Manadatory Linters: These must pass
pkg/draftd/portforwarder/portforwarder.go:1::warning: file is not gofmted with -s (gofmt)
pkg/linguist/static.go:1::warning: file is not gofmted with -s (gofmt)
pkg/linguist/data/data.go:1::warning: file is not gofmted with -s (gofmt)
pkg/linguist/tokenizer/tokenizer.go:1::warning: file is not gofmted with -s (gofmt)
cmd/draft/init_test.go:63:21:warning: "registy" is a misspelling of "registry" (misspell)
...

Most of these are quick fixes, so I'll knock them out and try to clean up the other optional linter errors, too.