.PHONY: install format lint typecheck test build

install:
	uv sync --all-groups

format:
	uv run black src/ tests/
	uv run ruff check --fix src/ tests/

lint:
	uv run ruff check src/ tests/
	uv run black --check src/ tests/

typecheck:
	uv run mypy --package hostel.protocol --package hostel.transport --package hostel.client

test:
	uv run pytest

build:
	uv build
