.PHONY: install lint format test build clean

install:
	uv pip install -e ".[dev]"

lint:
	ruff check dataplatform_airflow_plugin tests
	mypy dataplatform_airflow_plugin

format:
	black dataplatform_airflow_plugin tests
	isort dataplatform_airflow_plugin tests

test:
	pytest

build:
	uv build || python -m build

clean:
	rm -rf dist build *.egg-info .pytest_cache .mypy_cache .ruff_cache
