Skip to content

Commit 6490db4

Browse files
fix linting issue
1 parent 1d6bd97 commit 6490db4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
timeout-minutes: 20
1212
strategy:
1313
matrix:
14-
python-version: ["3.9"]
14+
python-version: ["3.13"]
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python-version }}

slack_bolt/logger/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def warning_unhandled_request(
184184
) -> str:
185185
filtered_body = _build_filtered_body(req.body)
186186
default_message = f"Unhandled request ({filtered_body})"
187-
is_async = type(req) != BoltRequest
187+
is_async = not isinstance(req, BoltRequest)
188188
if is_workflow_step_edit(req.body) or is_workflow_step_save(req.body) or is_workflow_step_execute(req.body):
189189
# @app.step
190190
callback_id = (

0 commit comments

Comments
 (0)