diff --git a/dify-agent/Makefile b/dify-agent/Makefile index 0ae3f4bae8..861004edbe 100644 --- a/dify-agent/Makefile +++ b/dify-agent/Makefile @@ -1,12 +1,16 @@ .DEFAULT_GOAL := help -.PHONY: help typecheck test +.PHONY: help lint typecheck test help: @echo "Dify agent targets:" + @echo " make lint - Run Ruff for dify-agent" @echo " make typecheck - Run basedpyright for dify-agent src and tests" @echo " make test - Run dify-agent pytest suite" +lint: + @uv run --project . python -m ruff check . + typecheck: @uv run --project . python -m basedpyright --level error src tests