feat: refactor imports and clean up code formatting across multiple files
This commit is contained in:
@@ -24,9 +24,7 @@ class BoardCreate(BoardBase):
|
||||
def validate_goal_fields(self):
|
||||
if self.board_type == "goal" and self.goal_confirmed:
|
||||
if not self.objective or not self.success_metrics:
|
||||
raise ValueError(
|
||||
"Confirmed goal boards require objective and success_metrics"
|
||||
)
|
||||
raise ValueError("Confirmed goal boards require objective and success_metrics")
|
||||
return self
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user