- Include tests/ in pyright and configure extraPaths for contracts package. - Unmask generated gRPC stubs so type checks verify contract seams. - Add test target to Makefile invoking uv run pytest. Closes #3
17 lines
197 B
Makefile
17 lines
197 B
Makefile
.PHONY: generate test lint format check
|
|
|
|
generate:
|
|
nix develop --command buf generate
|
|
|
|
test:
|
|
uv run pytest
|
|
|
|
lint:
|
|
uv run ruff check .
|
|
|
|
format:
|
|
uv run ruff format .
|
|
|
|
check: lint
|
|
uv run pyright
|