mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-15 16:58:17 +08:00
16 lines
294 B
Bash
Executable File
16 lines
294 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
# run ruff linter
|
|
uv run --directory api --dev ruff check --fix ./
|
|
|
|
# run ruff formatter
|
|
uv run --directory api --dev ruff format ./
|
|
|
|
# run dotenv-linter linter
|
|
uv run --project api --dev dotenv-linter ./api/.env.example ./web/.env.example
|
|
|
|
# run mypy check
|
|
dev/mypy-check
|