.PHONY: lint format typecheck test live build check

lint:
	uv run ruff check .
	uv run ruff format --check .

format:
	uv run ruff format .
	uv run ruff check --fix .

typecheck:
	uv run mypy

test:
	uv run pytest -m "not live"

live:
	uv run pytest -m live

build:
	rm -rf dist
	uv build

check: lint typecheck test
