add Makefile

This commit is contained in:
Johan Lundberg 2026-02-20 15:04:04 +01:00
parent a5198148a3
commit 1dfd89c7c3
No known key found for this signature in database
GPG key ID: A6C152738D03C7D1

16
Makefile Normal file
View file

@ -0,0 +1,16 @@
.PHONY: reformat lint typecheck test check
reformat:
uv run ruff format src/ tests/
lint:
uv run ruff check src/ tests/ --fix
typecheck:
uv run ty check src/
test:
uv run python -m pytest -v
check: reformat lint typecheck test
@echo "All checks passed!"