Skip to content

Commit 4791fb4

Browse files
chore(deps): bump black from 22.10.0 to 25.9.0 (#1775)
* chore(deps): bump black from 22.10.0 to 25.9.0 Bumps [black](https://github.com/psf/black) from 22.10.0 to 25.9.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@22.10.0...25.9.0) --- updated-dependencies: - dependency-name: black dependency-version: 25.9.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * update black version for compatibility with python 3.7 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: William Bergamin <[email protected]> Co-authored-by: William Bergamin <[email protected]>
1 parent b1b0715 commit 4791fb4

File tree

17 files changed

+36
-9
lines changed

17 files changed

+36
-9
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ updates:
88
schedule:
99
interval: "monthly"
1010
open-pull-requests-limit: 5
11+
ignore:
12+
- dependency-name: "black"
13+
update-types:
14+
- version-update:semver-patch
15+
- version-update:semver-minor
1116
- package-ecosystem: "github-actions"
1217
directory: "/"
1318
schedule:

integration_tests/web/test_admin_conversations_restrictAccess.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ def setUp(self):
4040
if self.channel_id is None:
4141
millis = int(round(time.time() * 1000))
4242
channel_name = f"private-test-channel-{millis}"
43-
self.channel_id = client.conversations_create(name=channel_name, is_private=True,)[
43+
self.channel_id = client.conversations_create(
44+
name=channel_name,
45+
is_private=True,
46+
)[
4447
"channel"
4548
]["id"]
4649

integration_tests/web/test_calls.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ def tearDown(self):
2424

2525
def test_sync(self):
2626
client = self.sync_client
27-
user_id = list(filter(lambda u: not u["deleted"] and "bot_id" not in u, client.users_list(limit=50)["members"],))[
27+
user_id = list(
28+
filter(
29+
lambda u: not u["deleted"] and "bot_id" not in u,
30+
client.users_list(limit=50)["members"],
31+
)
32+
)[
2833
0
2934
]["id"]
3035

requirements/testing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pytest-cov>=2,<8
88
flake8>=5.0.4,<8
99
# Don't change this version without running CI builds;
1010
# The latest version may not be available for older Python runtime
11-
black==22.10.0;
11+
black==23.3.0;
1212
click==8.0.4 # black is affected by https://github.com/pallets/click/issues/2225
1313
psutil>=6.0.0,<8
1414
# used only under slack_sdk/*_store

slack_sdk/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* `slack_sdk.scim.v1.async_client`
3838
3939
"""
40+
4041
import logging
4142
from logging import NullHandler
4243

slack_sdk/aiohttp_version_checker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Internal module for checking aiohttp compatibility of async modules"""
2+
23
import logging
34
from typing import Callable
45

slack_sdk/audit_logs/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
Refer to https://docs.slack.dev/tools/python-slack-sdk/audit-logs for details.
44
"""
5+
56
from .v1.client import AuditLogsClient
67
from .v1.response import AuditLogsResponse
78

slack_sdk/oauth/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
https://docs.slack.dev/tools/python-slack-sdk/oauth
44
"""
5+
56
from .authorize_url_generator import AuthorizeUrlGenerator
67
from .authorize_url_generator import OpenIDConnectAuthorizeUrlGenerator
78
from .installation_store import InstallationStore

slack_sdk/oauth/installation_store/installation_store.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
Refer to https://docs.slack.dev/tools/python-slack-sdk/oauth for details.
44
"""
5+
56
from logging import Logger
67
from typing import Optional
78

slack_sdk/oauth/state_store/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
Refer to https://docs.slack.dev/tools/python-slack-sdk/oauth for details.
44
"""
5+
56
# from .amazon_s3_state_store import AmazonS3OAuthStateStore
67
from .file import FileOAuthStateStore
78
from .state_store import OAuthStateStore

0 commit comments

Comments
 (0)