install:
	python -m pip install -U pip
	pip install -e ".[dev]"

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

lint:
	ruff check src tests
	mypy src

test:
	pytest

build:
	rm -rf dist build *.egg-info
	python -m build
	python -m twine check dist/*

publish-test:
	python -m twine upload --repository testpypi dist/*

publish:
	python -m twine upload dist/*
