演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
429 B
Bash
Executable File
22 lines
429 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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 ./
|
|
|
|
# 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 pyrefly check
|
|
dev/pyrefly-check-local
|