Files
tt-support-tools/shuttle_index.py
T
Uri Shaked c2c0d8ffbd refactor: add more types
include types for the new info.yaml
2023-12-23 21:27:22 +02:00

23 lines
412 B
Python

from typing import Dict, TypedDict
class ShuttleIndexMuxEntry(TypedDict):
macro: str
x: int
y: int
tiles: str
repo: str
commit: str
features: dict[str, bool]
class ShuttleIndex(TypedDict):
"""TypedDict for Tiny Tapeout's shuttle_index.json file."""
shuttle: str
repo: str
commit: str
commit_date: int
version: int
mux: Dict[str, ShuttleIndexMuxEntry]