.PHONY: setup test lint format clean

setup:
	pip install -e ".[sb3]"

setup-minimal:
	pip install -e .

test:
	python3 -m pytest tests/ -v $(ARGS)

lint:
	ruff check src/ tests/

format:
	ruff format src/ tests/
	ruff check --fix src/ tests/

clean:
	rm -rf build/ dist/ *.egg-info src/*.egg-info
	find . -type d -name __pycache__ -exec rm -rf {} +
	find . -type f -name "*.pyc" -delete
