Skip to content

Commit

Permalink
Exclude new vendored AWS sub-package from verification
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinSiu committed Jul 6, 2022
1 parent 2c3a2a5 commit eab74d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions hack/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def file_extension(filename):
skipped_dirs = ['Godeps', 'third_party', '_gopath', '_output', '.git', 'cluster/env.sh',
"vendor", "test/e2e/generated/bindata.go", "hack/boilerplate/test",
"pkg/generated/bindata.go",
"cluster-autoscaler/cloudprovider/aws/aws-sdk-go",
"cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3",
"cluster-autoscaler/cloudprovider/bizflycloud/gobizfly",
"cluster-autoscaler/cloudprovider/brightbox/gobrightbox",
Expand Down
1 change: 1 addition & 0 deletions hack/verify-golint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ GOLINT=${GOLINT:-"golint"}
excluded_packages=(
'/vendor/'
'vertical-pod-autoscaler/pkg/client'
"cluster-autoscaler/cloudprovider/aws/aws-sdk-go",
'cluster-autoscaler/cloudprovider/magnum/gophercloud'
'cluster-autoscaler/cloudprovider/digitalocean/godo'
'cluster-autoscaler/cloudprovider/bizflycloud/gobizfly'
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 | grep -v cluster-autoscaler/cloudprovider/oci/oci-go-sdk | grep -E -v 'cluster-autoscaler/cloudprovider/brightbox/(go-cache|gobrightbox|k8ssdk|linkheader)' | 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 -v cluster-autoscaler/cloudprovider/oci/oci-go-sdk | grep -E -v 'cluster-autoscaler/cloudprovider/brightbox/(go-cache|gobrightbox|k8ssdk|linkheader)' | grep -v cluster-autoscaler/cloudprovider/aws/aws-sdk-go | xargs misspell -error -o stderr

0 comments on commit eab74d6

Please sign in to comment.