.PHONY: ci lint type test clean

ci: lint type test

lint:
	ruff check src/ tests/

type:
	pyright src/

test:
	SIGIL_TEST_DATABASE_URL="postgresql://sigil_app@localhost/sigil_test" PYTHONPATH=. pytest tests/ -q

clean:
	rm -rf .pytest_cache .ruff_cache __pycache__ src/__pycache__ tests/__pycache__
