.PHONY: lint format format-check typecheck lint-check

all: lint format typecheck

lint-check:
	$(info ****************** linting ******************)
	uv run ruff check

lint:
	$(info ****************** linting ******************)
	uv run ruff check --fix

format:
	$(info ****************** formatting ******************)
	uv run ruff format

format-check:
	$(info ****************** checking formatting ******************)
	uv run ruff format --check

typecheck:
	$(info ****************** type checking ******************)
	uv run ty check src/product_specs_comparison/

build:
	$(info ****************** building ******************)
	uv build
