1- # black project prefers pyproject.toml
2- # that's why we have this file in addition to other setting files
1+ [build-system ]
2+ requires = [" setuptools" , " pytest-runner==5.2" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " slack_bolt"
7+ dynamic = [" version" , " readme" , " dependencies" ]
8+ description = " The Bolt Framework for Python"
9+ license = { text = " MIT" }
10+ authors = [{
name =
" Slack Technologies, LLC" ,
email =
" [email protected] " }]
11+ classifiers = [
12+ " Programming Language :: Python :: 3.6" ,
13+ " Programming Language :: Python :: 3.7" ,
14+ " Programming Language :: Python :: 3.8" ,
15+ " Programming Language :: Python :: 3.9" ,
16+ " Programming Language :: Python :: 3.10" ,
17+ " Programming Language :: Python :: 3.11" ,
18+ " Programming Language :: Python :: 3.12" ,
19+ " Programming Language :: Python :: Implementation :: CPython" ,
20+ " License :: OSI Approved :: MIT License" ,
21+ " Operating System :: OS Independent" ,
22+ ]
23+ requires-python = " >=3.6"
24+
25+
26+ [project .urls ]
27+ homepage = " https://github.com/slackapi/bolt-python"
28+
29+ [tool .setuptools .packages .find ]
30+ include = [" slack_bolt*" ]
31+
32+ [tool .setuptools .dynamic ]
33+ version = { attr = " slack_bolt.version.__version__" }
34+ readme = { file = [" README.md" ], content-type = " text/markdown" }
35+ dependencies = { file = [" requirements.txt" ] }
36+
37+ [tool .distutils .bdist_wheel ]
38+ universal = true
39+
340[tool .black ]
4- line-length = 125
41+ line-length = 125
42+
43+ [tool .pytest .ini_options ]
44+ testpaths = [" tests" ]
45+ log_file = " logs/pytest.log"
46+ log_file_level = " DEBUG"
47+ log_format = " %(asctime)s %(levelname)s %(message)s"
48+ log_date_format = " %Y-%m-%d %H:%M:%S"
49+ filterwarnings = [
50+ " ignore:\" @coroutine\" decorator is deprecated since Python 3.8, use \" async def\" instead:DeprecationWarning" ,
51+ " ignore:The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.:DeprecationWarning" ,
52+ ]
53+ asyncio_mode = " auto"
0 commit comments