Skip to content

Commit 5672e5c

Browse files
committed
fix for linter
1 parent 41d13a7 commit 5672e5c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

temporalio/exceptions.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
Common Temporal exceptions.
1+
"""Common Temporal exceptions.
32
43
# Temporal Failure
54
@@ -42,8 +41,7 @@ def cause(self) -> Optional[BaseException]:
4241

4342

4443
class FailureError(TemporalError):
45-
"""
46-
Base for runtime failures during workflow/activity execution.
44+
"""Base for runtime failures during workflow/activity execution.
4745
4846
This is extended by ``ApplicationError``, which can be raised in a Workflow to fail the Workflow Execution.
4947
Workflow Execution Failures put the Workflow Execution into the "Failed" state and no more attempts will
@@ -99,8 +97,7 @@ def __init__(
9997

10098

10199
class ApplicationError(FailureError):
102-
"""
103-
Error raised during workflow/activity execution.
100+
"""Error raised during workflow/activity execution.
104101
105102
Can be raised in a Workflow to fail the Workflow Execution.
106103
Workflow Execution Failures put the Workflow Execution into the "Failed" state and no more attempts will

0 commit comments

Comments
 (0)