mirror of https://github.com/langgenius/dify.git
Run import-linter within make lint (#25933)
This commit is contained in:
parent
1550316b8d
commit
4cc3f6045b
3
Makefile
3
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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue