PG_CTL ?= /opt/homebrew/opt/postgresql@14/bin/pg_ctl

test:
	uv run pytest tests/ --cov=cjdb --cov-report=term --postgresql-exec=$(PG_CTL) 2>&1
	uv run mypy .

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

.PHONY: format test
