
aioheleket_dir := aioheleket
examples_dir := examples

.PHONY: install
install:
	uv sync --locked --all-extras --group dev

.PHONY: lint
lint:
	uv run ruff format --check --diff $(aioheleket_dir) $(examples_dir)
	uv run ruff check --show-fixes $(aioheleket_dir) $(examples_dir)
	uv run mypy $(aioheleket_dir)

.PHONY: format
format:
	uv run ruff format $(aioheleket_dir)
	uv run ruff check --fix $(aioheleket_dir)
