.PHONY: help test lint release

help:
	@echo "erotetique — Makefile"
	@echo ""
	@echo "Targets:"
	@echo "  test              Run pytest"
	@echo "  lint              Run ruff check"
	@echo "  release           Run pre-publish gate, then hatch publish"

test:
	python -m pytest -xvs

lint:
	ruff check erotetique tests

release: ## Vérifie puis publie
	python scripts/check_release.py
	hatch publish
