Skip to content

Commit

Permalink
Upgrade black code formatter to veresion 21.5b1
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed May 28, 2021
1 parent 24e64c9 commit 5c7399c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
4 changes: 3 additions & 1 deletion examples/django/myslackapp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/

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

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
Expand Down
17 changes: 12 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"aiohttp>=3,<4", # for async
"Flask-Sockets>=0.2,<1",
"Werkzeug<2", # TODO: support Flask 2.x
"black==20.8b1",
"black==21.5b1",
]

setuptools.setup(
Expand All @@ -32,10 +32,17 @@
long_description_content_type="text/markdown",
url="https://github.com/slackapi/bolt-python",
packages=setuptools.find_packages(
exclude=["examples", "integration_tests", "tests", "tests.*",]
exclude=[
"examples",
"integration_tests",
"tests",
"tests.*",
]
),
include_package_data=True, # MANIFEST.in
install_requires=["slack_sdk>=3.5.0,<4",],
install_requires=[
"slack_sdk>=3.5.0,<4",
],
setup_requires=["pytest-runner==5.2"],
tests_require=test_dependencies,
test_suite="tests",
Expand All @@ -53,7 +60,7 @@
# used only under src/slack_bolt/adapter
"boto3<=2",
# TODO: Upgrade to v2
"moto<2", # For AWS tests
"moto<2", # For AWS tests
"bottle>=0.12,<1",
"boddle>=0.2,<0.3", # For Bottle app tests
"chalice>=1.22.4,<2",
Expand All @@ -73,7 +80,7 @@
"uvicorn<1",
"gunicorn>=20,<21",
# Socket Mode 3rd party implementation
"websocket_client>=0.57,<1"
"websocket_client>=0.57,<1",
],
# pip install -e ".[testing]"
"testing": test_dependencies,
Expand Down

0 comments on commit 5c7399c

Please sign in to comment.