mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix: reformat with pre-commit locally
This only reformats 2 files, better than nothing I guess?
This commit is contained in:
@@ -398,7 +398,6 @@ class DocsHelper:
|
||||
"datasheet config specified in config.yaml but has no entries"
|
||||
)
|
||||
else:
|
||||
|
||||
content["if_pinout"] = True
|
||||
if "pinout" in datasheet_config:
|
||||
content["pinout"] = shuttle_config["datasheet_config"]["pinout"]
|
||||
@@ -409,7 +408,6 @@ class DocsHelper:
|
||||
# determine appropriate pinout table from pdk first, otherwise fall back to shuttle id
|
||||
if "pdk" in shuttle_config:
|
||||
match shuttle_config["pdk"]:
|
||||
|
||||
case "sky130A":
|
||||
content["pinout"] = "openframe_sky130"
|
||||
case "ihp-sg13g2":
|
||||
@@ -507,7 +505,6 @@ class DocsHelper:
|
||||
|
||||
@staticmethod
|
||||
def project_is_disabled(config: DatasheetConfig, macro: str) -> bool:
|
||||
|
||||
if config is not None:
|
||||
if "disabled" in config and config["disabled"] is not None:
|
||||
return macro in config["disabled"]
|
||||
|
||||
@@ -133,7 +133,6 @@ class Docs:
|
||||
|
||||
temp_subtile_projects = {}
|
||||
for project in tapeout_index:
|
||||
|
||||
logging.info(
|
||||
f"processing datasheet for [{project['address']} : {project['repo']}]"
|
||||
)
|
||||
@@ -165,7 +164,6 @@ class Docs:
|
||||
continue
|
||||
|
||||
elif info["type"] == "group":
|
||||
|
||||
# write group doc
|
||||
group_md_path = f"projects/{info['macro']}/docs/info.md"
|
||||
group_typ_path = f"projects/{info['macro']}/docs/doc.typ"
|
||||
|
||||
Reference in New Issue
Block a user