mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 07:26:17 +00:00
Add pyproject.toml
This commit is contained in:
parent
8e896100d5
commit
8b96822ca1
31
pyproject.toml
Normal file
31
pyproject.toml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["setuptools", "wheel"]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[tool.black]
|
||||||
|
line-length = 125
|
||||||
|
skip-string-normalization = true
|
||||||
|
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
combine_as_imports = true
|
||||||
|
combine_star = true
|
||||||
|
line_length = 125
|
||||||
|
|
||||||
|
[tool.pyright]
|
||||||
|
include = [
|
||||||
|
"discord",
|
||||||
|
"discord/types",
|
||||||
|
"discord/ui",
|
||||||
|
"discord/ext",
|
||||||
|
"discord/ext/commands",
|
||||||
|
"discord/ext/tasks",
|
||||||
|
]
|
||||||
|
exclude = [
|
||||||
|
"**/__pycache__",
|
||||||
|
"build",
|
||||||
|
"dist",
|
||||||
|
"docs",
|
||||||
|
]
|
||||||
|
pythonVersion = "3.8"
|
||||||
|
typeCheckingMode = "basic"
|
1
setup.py
1
setup.py
@ -79,6 +79,7 @@ setup(name='discord.py',
|
|||||||
'Operating System :: OS Independent',
|
'Operating System :: OS Independent',
|
||||||
'Programming Language :: Python :: 3.8',
|
'Programming Language :: Python :: 3.8',
|
||||||
'Programming Language :: Python :: 3.9',
|
'Programming Language :: Python :: 3.9',
|
||||||
|
'Programming Language :: Python :: 3.10',
|
||||||
'Topic :: Internet',
|
'Topic :: Internet',
|
||||||
'Topic :: Software Development :: Libraries',
|
'Topic :: Software Development :: Libraries',
|
||||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user