mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
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:
@@ -12,12 +12,12 @@ from crewai.process import Process
|
||||
def priority_based_ordering(all_tasks, completed_outputs, current_index):
|
||||
"""
|
||||
Order tasks by priority (lower number = higher priority).
|
||||
|
||||
|
||||
Args:
|
||||
all_tasks: List of all tasks in the crew
|
||||
completed_outputs: List of TaskOutput objects for completed tasks
|
||||
current_index: Current task index (for default ordering)
|
||||
|
||||
|
||||
Returns:
|
||||
int: Index of next task to execute
|
||||
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):
|
||||
"""
|
||||
Order tasks based on previous task outputs.
|
||||
|
||||
|
||||
This example shows how to make task ordering decisions based on
|
||||
the results of previously completed tasks.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user