Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Run import-linter within make lint (#25933)

-LAN-4cc3f6045b7c
diff --git a/Makefile b/Makefile
index 88fa25e2226..ea560c7157c 100644
--- a/Makefile
+++ b/Makefile
@@ -61,8 +61,9 @@ check:
@echo "✅ Code check complete"
lint:
- @echo "🔧 Running ruff format and check with fixes..."
+ @echo "🔧 Running ruff format, check with fixes, and import linter..."
@uv run --project api --dev sh -c 'ruff format ./api && ruff check --fix ./api'
+ @uv run --directory api --dev lint-imports
@echo "✅ Linting complete"
type-check: