chore: add pre-commit quality checks
Deploy TodoList / deploy (push) Successful in 4s

This commit is contained in:
2026-07-31 10:36:06 +08:00
parent 99e42f8be4
commit a8051ad936
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -Eeuo pipefail
echo "==> Check Ruff lint"
uv run ruff check .
echo "==> Check Ruff format"
uv run ruff format --check .
echo "==> Run tests"
uv run python -m pytest -q