Run import-linter within make lint (#25933)

This commit is contained in:
-LAN- 2025-09-19 18:26:43 +08:00 committed by GitHub
parent 1550316b8d
commit 4cc3f6045b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -61,8 +61,9 @@ check:
@echo "✅ Code check complete" @echo "✅ Code check complete"
lint: 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 --project api --dev sh -c 'ruff format ./api && ruff check --fix ./api'
@uv run --directory api --dev lint-imports
@echo "✅ Linting complete" @echo "✅ Linting complete"
type-check: type-check: