.PHONY: install test lint format clean

install:
	pip install -e ".[dev]"
	pre-commit install

test:
	pytest --cov=neurobyte --cov-report=term-missing

lint:
	ruff check .
	black --check .
	mypy .

format:
	black .
	ruff check --fix .

clean:
	rm -rf dist build *.egg-info .pytest_cache .mypy_cache .ruff_cache
	find . -type d -name __pycache__ -exec rm -rf {} +
