Skip to content

Commit

Permalink
Exclude brightbox vendored libraries from hack check
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilW committed Oct 20, 2021
1 parent 2932b32 commit e81c4e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions hack/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ def file_extension(filename):
"pkg/generated/bindata.go",
"cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3",
"cluster-autoscaler/cloudprovider/bizflycloud/gobizfly",
"cluster-autoscaler/cloudprovider/brightbox/gobrightbox",
"cluster-autoscaler/cloudprovider/brightbox/k8ssdk",
"cluster-autoscaler/cloudprovider/brightbox/linkheader",
"cluster-autoscaler/cloudprovider/brightbox/go-cache",
"cluster-autoscaler/cloudprovider/digitalocean/godo",
"cluster-autoscaler/cloudprovider/magnum/gophercloud",
"cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go",
Expand Down
4 changes: 4 additions & 0 deletions hack/verify-golint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ excluded_packages=(
'cluster-autoscaler/cloudprovider/magnum/gophercloud'
'cluster-autoscaler/cloudprovider/digitalocean/godo'
'cluster-autoscaler/cloudprovider/bizflycloud/gobizfly'
'cluster-autoscaler/cloudprovider/brightbox/gobrightbox'
'cluster-autoscaler/cloudprovider/brightbox/k8ssdk'
'cluster-autoscaler/cloudprovider/brightbox/linkheader'
'cluster-autoscaler/cloudprovider/brightbox/go-cache'
'cluster-autoscaler/cloudprovider/exoscale/internal'
'cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3'
'cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go'
Expand Down
2 changes: 1 addition & 1 deletion hack/verify-spelling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ DIR=$(dirname $0)
go install ${DIR}/../../../github.com/client9/misspell/cmd/misspell

# Spell checking
git ls-files --full-name | grep -v -e vendor | grep -v cluster-autoscaler/cloudprovider/magnum/gophercloud| grep -v cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3 | grep -v cluster-autoscaler/cloudprovider/digitalocean/godo | grep -v cluster-autoscaler/cloudprovider/hetzner/hcloud-go | grep -v cluster-autoscaler/cloudprovider/bizflycloud/gobizfly | xargs misspell -error -o stderr
git ls-files --full-name | grep -v -e vendor | grep -v cluster-autoscaler/cloudprovider/magnum/gophercloud| grep -v cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3 | grep -v cluster-autoscaler/cloudprovider/digitalocean/godo | grep -v cluster-autoscaler/cloudprovider/hetzner/hcloud-go | grep -v cluster-autoscaler/cloudprovider/bizflycloud/gobizfly | grep -E -v 'cluster-autoscaler/cloudprovider/brightbox/(go-cache|gobrightbox|k8ssdk|linkheader)' | xargs misspell -error -o stderr

0 comments on commit e81c4e9

Please sign in to comment.