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:
1 parent
a0ae1d9c59
commit
c3ed3fc2a2
1 file changed
+4
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user