From 499cad2f15cd115ddb90946ca5d456de56588bc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=90=E7=B2=92=20Yanli?= Date: Mon, 11 May 2026 21:18:02 +0800 Subject: [PATCH] rename dify-agent make lint targets --- dify-agent/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dify-agent/Makefile b/dify-agent/Makefile index b8bbc68849..de5bcbe095 100644 --- a/dify-agent/Makefile +++ b/dify-agent/Makefile @@ -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 .