.PHONY: install lint format typecheck test test-all clean

install:
	pip install -e ".[dev]"

lint:
	ruff check src/ tests/

format:
	ruff check --fix src/ tests/

typecheck:
	mypy src/qp_conductor/

test:
	pytest tests/ -v --tb=short --cov=qp_conductor --cov-report=term-missing

test-all: lint typecheck test

clean:
	rm -rf dist/ build/ *.egg-info .pytest_cache .ruff_cache .mypy_cache
	find . -type d -name __pycache__ -exec rm -rf {} +
