mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
refactor: add more types
include types for the new info.yaml
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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]
|
||||
Reference in New Issue
Block a user