update makefile

This commit is contained in:
盐粒 Yanli 2026-04-29 22:06:31 +08:00
parent 4d580f9e8d
commit 3a5477b39a

View File

@ -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