Add pyproject.toml

This commit is contained in:
Rapptz
2022-02-17 06:50:49 -05:00
parent 8e896100d5
commit 8b96822ca1
2 changed files with 32 additions and 0 deletions

31
pyproject.toml Normal file
View 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"