build: add make target lint

The newly added make target 'lint' runs various linters
on the code base.

Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Michael Adam committed 2025-01-27 20:40:11 +01:00
1 parent a0ae1d9c59
commit c3ed3fc2a2
1 file changed
+4 -1
+4 -1
View File
@@ -161,9 +161,12 @@ fmt: ## Check formatting of go sources.
yamllint:
yamllint -c .yamllint deploy/examples/ --no-warnings
.PHONY: lint
lint: yamllint pylint shellcheck vet ## Run various linters
.PHONY: pylint
pylint:
pylint $(shell find $(ROOT_DIR) -name '*.py') -E
pylint $(shell find $(ROOT_DIR) -name '*.py') -E
.PHONY: shellcheck
shellcheck: