chore(backend): standardize multiline formatting across modules
Reformatted multiline function calls, object definitions, and queries for improved code readability and consistency. Adjusted imports and constraints where necessary.
This commit is contained in:
@@ -91,9 +91,7 @@ def spawn_agent(
|
||||
Returns:
|
||||
dict with status, agent_type_id, and project_id
|
||||
"""
|
||||
logger.info(
|
||||
f"Spawning agent of type {agent_type_id} for project {project_id}"
|
||||
)
|
||||
logger.info(f"Spawning agent of type {agent_type_id} for project {project_id}")
|
||||
|
||||
# TODO: Implement agent spawning
|
||||
# This will involve:
|
||||
@@ -132,9 +130,7 @@ def terminate_agent(
|
||||
Returns:
|
||||
dict with status and agent_instance_id
|
||||
"""
|
||||
logger.info(
|
||||
f"Terminating agent instance {agent_instance_id} with reason: {reason}"
|
||||
)
|
||||
logger.info(f"Terminating agent instance {agent_instance_id} with reason: {reason}")
|
||||
|
||||
# TODO: Implement agent termination
|
||||
# This will involve:
|
||||
|
||||
@@ -86,9 +86,7 @@ def commit_changes(
|
||||
Returns:
|
||||
dict with status and project_id
|
||||
"""
|
||||
logger.info(
|
||||
f"Committing changes for project {project_id}: {message}"
|
||||
)
|
||||
logger.info(f"Committing changes for project {project_id}: {message}")
|
||||
|
||||
# TODO: Implement commit operation
|
||||
# This will involve:
|
||||
@@ -209,9 +207,7 @@ def push_changes(
|
||||
Returns:
|
||||
dict with status and project_id
|
||||
"""
|
||||
logger.info(
|
||||
f"Pushing branch {branch} for project {project_id} (force={force})"
|
||||
)
|
||||
logger.info(f"Pushing branch {branch} for project {project_id} (force={force})")
|
||||
|
||||
# TODO: Implement push operation
|
||||
# This will involve:
|
||||
|
||||
@@ -140,9 +140,7 @@ def sync_project_issues(
|
||||
Returns:
|
||||
dict with status and project_id
|
||||
"""
|
||||
logger.info(
|
||||
f"Syncing issues for project {project_id} (full={full})"
|
||||
)
|
||||
logger.info(f"Syncing issues for project {project_id} (full={full})")
|
||||
|
||||
# TODO: Implement project-specific sync
|
||||
# This will involve:
|
||||
@@ -180,9 +178,7 @@ def push_issue_to_external(
|
||||
Returns:
|
||||
dict with status, issue_id, and operation
|
||||
"""
|
||||
logger.info(
|
||||
f"Pushing {operation} for issue {issue_id} in project {project_id}"
|
||||
)
|
||||
logger.info(f"Pushing {operation} for issue {issue_id} in project {project_id}")
|
||||
|
||||
# TODO: Implement outbound sync
|
||||
# This will involve:
|
||||
|
||||
@@ -72,9 +72,7 @@ def execute_workflow_step(
|
||||
Returns:
|
||||
dict with status, workflow_id, and transition
|
||||
"""
|
||||
logger.info(
|
||||
f"Executing transition '{transition}' for workflow {workflow_id}"
|
||||
)
|
||||
logger.info(f"Executing transition '{transition}' for workflow {workflow_id}")
|
||||
|
||||
# TODO: Implement workflow transition
|
||||
# This will involve:
|
||||
@@ -196,9 +194,7 @@ def start_story_workflow(
|
||||
Returns:
|
||||
dict with status and story_id
|
||||
"""
|
||||
logger.info(
|
||||
f"Starting story workflow for story {story_id} in project {project_id}"
|
||||
)
|
||||
logger.info(f"Starting story workflow for story {story_id} in project {project_id}")
|
||||
|
||||
# TODO: Implement story workflow initialization
|
||||
# This will involve:
|
||||
|
||||
Reference in New Issue
Block a user