.PHONY: lint format check-version check-base-imports bump-version

# lint commands

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

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

VERSION_KIND ?= patch

bump-version:
	uv run --with hatch hatch version $(VERSION_KIND)

check-base-imports:
	uv run python -c "import langgraph_runtime_inmem"
