Skip to content

Commit efab010

Browse files
committed
Apply black slack_bolt/ tests/
1 parent 2e32d1b commit efab010

File tree

18 files changed

+19
-5
lines changed

18 files changed

+19
-5
lines changed

slack_bolt/adapter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Adapter modules for running Bolt apps along with Web frameworks or Socket Mode.
2-
"""
2+
"""

slack_bolt/error/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
"""Bolt specific error types."""
2+
3+
24
class BoltError(Exception):
35
"""General class in a Bolt app"""

slack_bolt/util/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Internal utilities for the Bolt framework."""
1+
"""Internal utilities for the Bolt framework."""

slack_bolt/workflows/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
* `slack_bolt.workflows.step.async_step` (if you use asyncio-based `AsyncApp`)
88
99
Refer to https://api.slack.com/workflows/steps for details.
10-
"""
10+
"""

slack_bolt/workflows/step/async_step.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class AsyncWorkflowStepBuilder:
2929
"""Steps from Apps
3030
Refer to https://api.slack.com/workflows/steps for details.
3131
"""
32+
3233
callback_id: Union[str, Pattern]
3334
_edit: Optional[AsyncListener]
3435
_save: Optional[AsyncListener]

slack_bolt/workflows/step/async_step_middleware.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
class AsyncWorkflowStepMiddleware(AsyncMiddleware): # type:ignore
1313
"""Base middleware for workflow step specific ones"""
14+
1415
def __init__(self, step: AsyncWorkflowStep, listener_runner: AsyncioListenerRunner):
1516
self.step = step
1617
self.listener_runner = listener_runner

slack_bolt/workflows/step/step.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class WorkflowStepBuilder:
2424
"""Steps from Apps
2525
Refer to https://api.slack.com/workflows/steps for details.
2626
"""
27+
2728
callback_id: Union[str, Pattern]
2829
_edit: Optional[Listener]
2930
_save: Optional[Listener]

slack_bolt/workflows/step/step_middleware.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
class WorkflowStepMiddleware(Middleware): # type:ignore
1313
"""Base middleware for workflow step specific ones"""
14+
1415
def __init__(self, step: WorkflowStep, listener_runner: ThreadListenerRunner):
1516
self.step = step
1617
self.listener_runner = listener_runner

slack_bolt/workflows/step/utilities/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
* `slack_bolt.workflows.step.utilities.complete` for notifying the execution completion to Slack
1717
1818
For asyncio-based apps, refer to the corresponding `async` prefixed ones.
19-
"""
19+
"""

slack_bolt/workflows/step/utilities/async_complete.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ async def execute(step, complete, fail):
2424
This utility is a thin wrapper of workflows.stepCompleted API method.
2525
Refer to https://api.slack.com/methods/workflows.stepCompleted for details.
2626
"""
27+
2728
def __init__(self, *, client: AsyncWebClient, body: dict):
2829
self.client = client
2930
self.body = body

0 commit comments

Comments
 (0)