From 7454f8c8cbcfa48235e12e344e9a3fee2a8336be Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Thu, 12 Feb 2026 15:25:00 +0100 Subject: [PATCH] chore: add quality check script (ruff, ty, pytest) --- scripts/check.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 scripts/check.sh diff --git a/scripts/check.sh b/scripts/check.sh new file mode 100755 index 0000000..2615b9e --- /dev/null +++ b/scripts/check.sh @@ -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!"