From 3a5477b39a641438e4c57e56a743947330c32ef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=90=E7=B2=92=20Yanli?= Date: Wed, 29 Apr 2026 22:06:31 +0800 Subject: [PATCH] update makefile --- dify-agent/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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