rename dify-agent make lint targets

This commit is contained in:
盐粒 Yanli 2026-05-11 21:18:02 +08:00
parent 92e1d5aa6b
commit 499cad2f15

View File

@ -1,21 +1,21 @@
.DEFAULT_GOAL := help
.PHONY: help lint format typecheck test update-examples docs docs-serve
.PHONY: help check fix typecheck test update-examples docs docs-serve
help:
@echo "Dify agent targets:"
@echo " make lint - Run Ruff for dify-agent"
@echo " make format - Format and fix Ruff issues"
@echo " make check - Run Ruff for dify-agent"
@echo " make fix - Format and fix Ruff issues"
@echo " make typecheck - Run basedpyright for src, examples, and tests"
@echo " make test - Run local tests and docs/example tests"
@echo " make update-examples - Rewrite docs example outputs when needed"
@echo " make docs - Build MkDocs documentation"
@echo " make docs-serve - Serve MkDocs documentation locally"
lint:
check:
@uv run --project . python -m ruff check .
format:
fix:
@uv run --project . python -m ruff format .
@uv run --project . python -m ruff check --fix .