#!/usr/bin/env bash
# Lint + type-check + test, all gates that CI runs.

set -e

cd "$(dirname "$0")/.."

uv run ruff format .
uv run ruff check . --fix
uv run mypy src
uv run pytest --cov=src/ttlock_ble --cov-report=term-missing --cov-fail-under=50
