-
-
Notifications
You must be signed in to change notification settings - Fork 465
/
pyproject.toml
106 lines (93 loc) · 2.53 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = [
"setuptools>=62.6,<=75.5.0",
"setuptools-scm>=6.2,<=8.1.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "py-cord"
authors = [
{name = "Pycord Development"}
]
description = "A Python wrapper for the Discord API"
readme = {content-type = "text/x-rst", file = "README.rst"}
requires-python = ">=3.9"
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Typing :: Typed",
]
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.urls]
Homepage = "https://pycord.dev"
Changelog = "https://docs.pycord.dev/en/master/changelog.html"
Source = "https://github.com/Pycord-Development/pycord"
Documentation = "https://docs.pycord.dev"
Tracker = "https://github.com/Pycord-Development/pycord/issues"
Funding = "https://patreon.com/pycord"
[tool.setuptools]
packages = [
"discord",
"discord.types",
"discord.sinks",
"discord.ui",
"discord.webhook",
"discord.commands",
"discord.ext.commands",
"discord.ext.tasks",
"discord.ext.pages",
"discord.ext.bridge",
"discord.bin",
]
[tool.setuptools.dynamic]
dependencies = {file = "requirements/_.txt"}
readme = {content-type = "text/x-rst", file = "README.rst"}
[tool.setuptools.dynamic.optional-dependencies]
docs = {file = "requirements/docs.txt"}
speed = {file = "requirements/speed.txt"}
voice = {file = "requirements/voice.txt"}
[tool.setuptools_scm]
[tool.black]
target-version = ['py39', 'py310', 'py311', 'py312']
[tool.isort]
profile = "black"
[tool.mypy]
namespace_packages = true
install_types = true
strict = true
show_error_codes = true
#allow_untyped_decorators = true
#allow_untyped_calls = true
ignore_errors = true
[tool.pylint.main]
extension-pkg-whitelist = [
"pydantic",
"ujson"
]
py-version = 3.9
[tool.pylint.messages_control]
enable = [
"bad-indentation",
"line-too-long"
]
disable = [
"protected-access",
"fixme"
]
[tool.pylint.format]
indent-string = ' '
max-line-length = 120
[tool.pytest.ini_options]
asyncio_mode = "auto"