mirror of
https://github.com/langgenius/dify.git
synced 2026-03-02 14:26:40 +08:00
chore: add import lint to CI
Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
@ -5,6 +5,9 @@ set -x
|
||||
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
||||
cd "$SCRIPT_DIR/.."
|
||||
|
||||
# Import linter
|
||||
uv run --directory api --dev lint-imports
|
||||
|
||||
# run ruff linter
|
||||
uv run --directory api --dev ruff check --fix ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user