.PHONY: help install install-dev test lint clean PYTHON ?= python3 help: @echo "Targets:" @echo " install Install the package (editable, runtime deps only)" @echo " install-dev Install the package with dev extras (pytest, ruff)" @echo " test Run the pytest test suite" @echo " lint Run ruff against the source tree" @echo " clean Remove build artefacts and test/lint caches" install: $(PYTHON) -m pip install -e . install-dev: $(PYTHON) -m pip install -e '.[dev]' test: PYTHONPATH=src $(PYTHON) -m pytest tests/ -v lint: $(PYTHON) -m ruff check --no-cache src/ tests/ clean: rm -rf build dist *.egg-info src/*.egg-info \ .pytest_cache .ruff_cache \ .venv \ **/__pycache__