Skip to content

Commit a1010fe

Browse files
chore(deps): bump flake8 from 6.0.0 to 7.1.2 (#1259)
1 parent acd2623 commit a1010fe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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 }}

requirements/tools.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
mypy==1.15.0
2-
flake8==6.0.0
2+
flake8==7.1.2
33
black==24.8.0 # Until we drop Python 3.6 support, we have to stay with this 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)