File size: 414 Bytes
3bef9b3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
#
# Installation
#
.PHONY: setup
setup:
pip install -U uv
.PHONY: install
install:
uv sync
#
# linter/formatter/typecheck
#
.PHONY: lint
lint: install
uv run ruff check --output-format=github .
.PHONY: format
format: install
uv run ruff format --check --diff .
.PHONY: typecheck
typecheck: install
uv run mypy --cache-dir=/dev/null .
.PHONY: test
test: install
uv run pytest -vsx --log-cli-level=INFO
|