chore: add quality check script (ruff, ty, pytest)

This commit is contained in:
Johan Lundberg 2026-02-12 15:25:00 +01:00
parent 6a8b41cd38
commit 7454f8c8cb
No known key found for this signature in database
GPG key ID: A6C152738D03C7D1

17
scripts/check.sh Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Run all quality checks
set -euo pipefail
echo "==> Formatting..."
uv run ruff format src/ tests/
echo "==> Linting..."
uv run ruff check src/ tests/ --fix
echo "==> Type checking..."
uv run ty check src/
echo "==> Testing..."
uv run pytest -v
echo "==> All checks passed!"