mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 21:28:25 +08:00
update makefile
This commit is contained in:
parent
4d580f9e8d
commit
3a5477b39a
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user