feat(configure): initial support for analog module placement

This commit is contained in:
Uri Shaked
2024-03-16 23:26:56 +02:00
parent 8cd1ef73cb
commit b1a2a3bb98
2 changed files with 8 additions and 11 deletions
+1 -4
View File
@@ -273,10 +273,7 @@ class Project:
return commit_info["workflow_url"]
def is_analog_design(self) -> bool:
if self.is_user_project:
return len(self.info.pinout.ua) > 0
else:
return self.read_commit_info_json().get("analog", False)
return len(self.info.pinout.ua) > 0
def get_workflow_url(self):
GITHUB_SERVER_URL = os.getenv("GITHUB_SERVER_URL")