all: test

test:
	@echo "Running tests..."
	uv run pytest -v -s --cov ./unfazed_checkpointer --cov-report term-missing

format:
	@echo "Formatting code..."
	uv run ruff format tests/ unfazed_checkpointer/
	uv run ruff check tests/ unfazed_checkpointer/  --fix
	uv run mypy --check-untyped-defs --explicit-package-bases --ignore-missing-imports tests/ unfazed_checkpointer/

publish:
	@echo "Publishing package..."
	uv build
	uv publish
