Deployment
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user