chore(generator): подключён типчекер ty и цель make typecheck

- Зачем:
  - код генератора будет расти в #38/#39 — проверку типов лучше
    завести до реализации, чем типизировать задним числом.
- Что:
  - ty добавлен dev-зависимостью генератора (закреплён в uv.lock).
  - в Makefile добавлена цель typecheck, README обеих сторон обновлены.
- Проверка:
  - make typecheck && make lint && make test — всё зелено, 248 тестов.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-02 11:58:44 +03:00
co-authored by Claude Opus 5
parent 7b73af5a80
commit 22fea7a778
5 changed files with 41 additions and 3 deletions
+4 -1
View File
@@ -1,6 +1,6 @@
COMPOSE ?= docker compose
.PHONY: up down clean ps logs config-test lint test docs smoke smoke-cluster smoke-guards
.PHONY: up down clean ps logs config-test lint typecheck test docs smoke smoke-cluster smoke-guards
up:
$(COMPOSE) up --detach --build --wait --wait-timeout 600
@@ -24,6 +24,9 @@ config-test:
lint:
cd generator && uv run ruff check && uv run ruff format --check
typecheck:
cd generator && uv run ty check
test:
cd generator && uv run pytest