mirror of
https://github.com/clearml/go-nvlib
synced 2025-01-31 02:47:02 +00:00
Skip pkg/nvml folder when linting
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
e37e145458
commit
4a0fdc2e8a
2
Makefile
2
Makefile
@ -59,7 +59,7 @@ generate:
|
||||
|
||||
lint:
|
||||
# We use `go list -f '{{.Dir}}' $(MODULE)/...` to skip the `vendor` folder.
|
||||
go list -f '{{.Dir}}' $(MODULE)/... | xargs golint -set_exit_status
|
||||
go list -f '{{.Dir}}' $(MODULE)/... | grep -v pkg/nvml | xargs golint -set_exit_status
|
||||
|
||||
vet:
|
||||
go vet $(MODULE)/...
|
||||
|
Loading…
Reference in New Issue
Block a user