diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..736832917 --- /dev/null +++ b/pyproject.toml @@ -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" diff --git a/setup.py b/setup.py index 9ffd24ceb..bedd8f706 100644 --- a/setup.py +++ b/setup.py @@ -79,6 +79,7 @@ setup(name='discord.py', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Topic :: Internet', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules',