Deployment

This commit is contained in:
Zakhar
2026-09-25 19:44:48 +03:00
parent 596adfdc09
commit 066bfb3c0b
24 changed files with 472 additions and 151 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import uuid
from dataclasses import dataclass, field
from enum import Enum
from typing import Optional
from typing import Optional, Literal
from contracts.base import BaseContract
@@ -58,7 +58,7 @@ class Task(BaseContract):
lines = [
f"# Task: {self.description}",
f"# Before start you must ensure that another tasks have been done: {', '.join(self.depends_on)}" if self.depends_on else "",
f"# Acceptance criteria: \n{"\n - ".join(self.acceptance_criteria)}",
f"# Acceptance criteria: \n{"\n - ".join(self.acceptance_criteria)}"
]
return "\n".join(lines)