Skip to content

Commit 5c7399c

Browse files
committed
Upgrade black code formatter to veresion 21.5b1
1 parent 24e64c9 commit 5c7399c

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

examples/django/myslackapp/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
2121

2222
# TODO: CHANGE THIS IF YOU REUSE THIS APP
23-
SECRET_KEY = "This is just a example. You should not expose your secret key in real apps"
23+
SECRET_KEY = (
24+
"This is just a example. You should not expose your secret key in real apps"
25+
)
2426

2527
# SECURITY WARNING: don't run with debug turned on in production!
2628
DEBUG = True

setup.py

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"aiohttp>=3,<4", # for async
1919
"Flask-Sockets>=0.2,<1",
2020
"Werkzeug<2", # TODO: support Flask 2.x
21-
"black==20.8b1",
21+
"black==21.5b1",
2222
]
2323

2424
setuptools.setup(
@@ -32,10 +32,17 @@
3232
long_description_content_type="text/markdown",
3333
url="https://github.com/slackapi/bolt-python",
3434
packages=setuptools.find_packages(
35-
exclude=["examples", "integration_tests", "tests", "tests.*",]
35+
exclude=[
36+
"examples",
37+
"integration_tests",
38+
"tests",
39+
"tests.*",
40+
]
3641
),
3742
include_package_data=True, # MANIFEST.in
38-
install_requires=["slack_sdk>=3.5.0,<4",],
43+
install_requires=[
44+
"slack_sdk>=3.5.0,<4",
45+
],
3946
setup_requires=["pytest-runner==5.2"],
4047
tests_require=test_dependencies,
4148
test_suite="tests",
@@ -53,7 +60,7 @@
5360
# used only under src/slack_bolt/adapter
5461
"boto3<=2",
5562
# TODO: Upgrade to v2
56-
"moto<2", # For AWS tests
63+
"moto<2", # For AWS tests
5764
"bottle>=0.12,<1",
5865
"boddle>=0.2,<0.3", # For Bottle app tests
5966
"chalice>=1.22.4,<2",
@@ -73,7 +80,7 @@
7380
"uvicorn<1",
7481
"gunicorn>=20,<21",
7582
# Socket Mode 3rd party implementation
76-
"websocket_client>=0.57,<1"
83+
"websocket_client>=0.57,<1",
7784
],
7885
# pip install -e ".[testing]"
7986
"testing": test_dependencies,

0 commit comments

Comments
 (0)