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 <obnox@samba.org>
This commit is contained in:
Michael Adam committed 2026-05-05 18:53:26 +02:00
1 parent a4316348cc
commit dd99db9ca9
1 file changed
+3 -1
+3 -1
View File
@@ -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