20 lines
297 B
Makefile
Executable File
20 lines
297 B
Makefile
Executable File
PYTHON ?= python3
|
|
|
|
.PHONY: generate-proto test lint format typecheck
|
|
|
|
generate-proto:
|
|
$(PYTHON) tools/gen_proto.py
|
|
|
|
test:
|
|
$(PYTHON) -m pytest
|
|
|
|
lint:
|
|
$(PYTHON) -m ruff check src tests
|
|
$(PYTHON) -m black --check src tests
|
|
|
|
format:
|
|
$(PYTHON) -m black src tests
|
|
|
|
typecheck:
|
|
$(PYTHON) -m pyright
|