.PHONY: install lint lint-fix format format-check test test-verbose build check ci

install:
	uv sync --dev

lint:
	uv run ruff check .

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

format:
	uv run ruff format .

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

test:
	uv run pytest

test-verbose:
	uv run pytest -v

build:
	rm -rf dist/
	uv build

check: build
	uvx twine check dist/*

ci: install lint format-check test check
