From dd99db9ca91047cbe6d17b59e90f9ada4f3dadf0 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 4 May 2026 19:04:38 +0200 Subject: [PATCH] build: introduce a make target lint.quick `make lint` runs all available linters and tskes quite some time (around 25 to 35 seconds) to complete, eventually failing on lint.python, at least locally on some machines. This change splits a target `lint.quick` out of `lint`. `make lint.quick` runs all linters except for `lint.python` and consistently takes some 20 seconds of runtime to complete successfully. Signed-off-by: Michael Adam --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ecea699ba..c87a2ba25 100644 --- a/Makefile +++ b/Makefile @@ -217,8 +217,10 @@ lint.helm: $(HELM) $(KUSTOMIZE) ## Check the helm charts $(KUSTOMIZE) build >/dev/null rm templated.yaml kustomization.yaml +.PHONY: lint.quick +lint.quick: lint.yaml lint.shell lint.make lint.go lint.helm lint.markdown ## run some (faster) linters .PHONY: lint -lint: lint.yaml lint.python lint.shell lint.make lint.go lint.markdown lint.helm ## Run various linters +lint: lint.quick lint.python ## Run various linters .PHONY: lint.python lint.python: ## lint python scripts