File tree Expand file tree Collapse file tree 2 files changed +1
-25
lines changed Expand file tree Collapse file tree 2 files changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ DOCKER_REPO_BASE_KITCHEN_TERRAFORM := ${DOCKER_ORG}/cft/kitchen-terraform:${DOC
2727all : check generate_docs
2828
2929.PHONY : check
30- check : check_shell check_python check_golang check_terraform check_docker check_base_files test_check_headers check_headers check_trailing_whitespace
30+ check : check_shell check_python check_terraform check_base_files test_check_headers check_headers check_trailing_whitespace
3131
3232.PHONY : check_shell
3333check_shell :
@@ -37,18 +37,10 @@ check_shell:
3737check_python :
3838 @source test/make.sh && check_python
3939
40- .PHONY : check_golang
41- check_golang :
42- @source test/make.sh && golang
43-
4440.PHONY : check_terraform
4541check_terraform :
4642 @source test/make.sh && check_terraform
4743
48- .PHONY : check_docker
49- check_docker :
50- @source test/make.sh && docker
51-
5244.PHONY : check_base_files
5345check_base_files :
5446 @source test/make.sh && basefiles
Original file line number Diff line number Diff line change @@ -62,14 +62,6 @@ function basefiles() {
6262 done
6363}
6464
65- # This function runs the hadolint linter on
66- # every file named 'Dockerfile'
67- function docker() {
68- echo " Running hadolint on Dockerfiles"
69- find_files . -name " Dockerfile" -print0 \
70- | compat_xargs -0 hadolint
71- }
72-
7365# This function runs 'terraform validate' against all
7466# directory paths which contain *.tf files.
7567function check_terraform() {
@@ -81,14 +73,6 @@ function check_terraform() {
8173 | compat_xargs -t -n1 terraform validate --check-variables=false
8274}
8375
84- # This function runs 'go fmt' and 'go vet' on every file
85- # that ends in '.go'
86- function golang() {
87- echo " Running go fmt and go vet"
88- find_files . -name " *.go" -print0 | compat_xargs -0 -n1 go fmt
89- find_files . -name " *.go" -print0 | compat_xargs -0 -n1 go vet
90- }
91-
9276# This function runs the flake8 linter on every file
9377# ending in '.py'
9478function check_python() {
You can’t perform that action at this time.
0 commit comments