fix: Remove whitespace from blank lines in example file

- Fix W293 lint errors by removing trailing whitespace from blank lines
- Ensures compliance with Ruff formatting standards

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2025-09-29 11:00:26 +00:00
parent e1c2c08bba
commit c467c96e9f

View File

@@ -12,12 +12,12 @@ from crewai.process import Process
def priority_based_ordering(all_tasks, completed_outputs, current_index): def priority_based_ordering(all_tasks, completed_outputs, current_index):
""" """
Order tasks by priority (lower number = higher priority). Order tasks by priority (lower number = higher priority).
Args: Args:
all_tasks: List of all tasks in the crew all_tasks: List of all tasks in the crew
completed_outputs: List of TaskOutput objects for completed tasks completed_outputs: List of TaskOutput objects for completed tasks
current_index: Current task index (for default ordering) current_index: Current task index (for default ordering)
Returns: Returns:
int: Index of next task to execute int: Index of next task to execute
Task: Task object to execute next Task: Task object to execute next
@@ -41,7 +41,7 @@ def priority_based_ordering(all_tasks, completed_outputs, current_index):
def conditional_ordering(all_tasks, completed_outputs, current_index): def conditional_ordering(all_tasks, completed_outputs, current_index):
""" """
Order tasks based on previous task outputs. Order tasks based on previous task outputs.
This example shows how to make task ordering decisions based on This example shows how to make task ordering decisions based on
the results of previously completed tasks. the results of previously completed tasks.
""" """