Skip to content

Commit

Permalink
build: add make target lint
Browse files Browse the repository at this point in the history
The newly added make target 'lint' runs various linters
on the code base.

Signed-off-by: Michael Adam <[email protected]>
  • Loading branch information
obnoxxx committed Jan 27, 2025
1 parent a0ae1d9 commit c3ed3fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c3ed3fc

Please sign in to comment.