Skip to content

Commit 97b1373

Browse files
committed
linter
1 parent eb2849e commit 97b1373

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/crewai/src/crewai/flow/async_feedback/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def from_dict(cls, data: dict[str, Any]) -> PendingFeedbackContext:
111111
)
112112

113113

114-
class HumanFeedbackPending(Exception):
114+
class HumanFeedbackPending(Exception): # noqa: N818 - Not an error, a control flow signal
115115
"""Signal that flow execution should pause for async human feedback.
116116
117117
When raised by a provider, the flow framework will:

lib/crewai/src/crewai/flow/persistence/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ def load_pending_feedback(
9494
"""
9595
return None
9696

97-
def clear_pending_feedback(self, flow_uuid: str) -> None:
97+
def clear_pending_feedback(self, flow_uuid: str) -> None: # noqa: B027
9898
"""Clear the pending feedback marker after successful resume.
9999
100100
This is called after feedback is received and the flow resumes.
101-
Override to remove the pending feedback marker.
101+
Optional override to remove the pending feedback marker.
102102
103103
Args:
104104
flow_uuid: Unique identifier for the flow instance

0 commit comments

Comments
 (0)