fix(project): only require non-empty pinout with --check-docs

This commit is contained in:
Uri Shaked
2026-02-04 14:55:56 +02:00
parent d052447fa3
commit b4a9e6c7ea
3 changed files with 22 additions and 6 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ def check_info_yaml(project_dir: str, pdk: str) -> list[str]:
tile_sizes = yaml.safe_load(f)
try:
_ = ProjectInfo(yaml_data, tile_sizes)
_ = ProjectInfo(yaml_data, tile_sizes, require_pinout=True)
except Exception as e:
if isinstance(e, ProjectYamlError):
return e.errors