forked from PyLav/PyLav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
205 lines (191 loc) · 5.76 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=0.21.5", "pip>=22.3.1", "wheel>=0.38.4"]
build-backend = "poetry_dynamic_versioning.backend"
[tool]
[tool.autopep8]
max_line_length = 120
ignore = "E203,E501,W503,E402"
in-place = true
recursive = true
aggressive = 3
exclude = "pylav/_city_dump.py"
[tool.black]
line-length = 120
target-version = ['py311']
force-exclude = '''
/(
pylav\/vendor
)/
'''
[tool.isort]
profile = "black"
line_length = 120
py_version = 311
known_third_party = [
"aiofile",
"aiohttp",
"aiohttp_client_cache",
"aiopath",
"apscheduler",
"apsw",
"asyncpg",
"asyncspotify",
"asyncstdlib",
"brotli",
"cached_property",
"cashews",
"dacite",
"dateutil",
"deepdiff",
"discord",
"expiringdict",
"humanize",
"importlib_metadata",
"iso8601",
"netaddr",
"numpy",
"orjson",
"packaging",
"piccolo",
"platformdirs",
"psutil",
"pytz",
"red_commons",
"redis",
"rich",
"tabulate",
"typing_extensions",
"ujson",
"uvloop",
"watchfiles",
"yaml"
]
known_local_folder = [
"pylav"
]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = false
ignore-private = false
ignore-property-decorators = false
ignore-module = false
ignore-nested-functions = false
ignore-nested-classes = true
ignore-setters = false
fail-under = 95
exclude = ["docs", "build", "pylav/vendor", "pylav/utils/vendor"]
ignore-regex = ["^get$", "^mock_.*", ".*BaseClass.*"]
# possible values: 0 (minimal output), 1 (-v), 2 (-vv)
verbose = 0
quiet = false
whitelist-regex = []
color = true
omit-covered-files = false
[tool.poetry]
name = "Py-Lav"
version = "1.10.10"
description = " A Lavalink WebSocket & API wrapper for discord.py"
authors = ["Draper <[email protected]>"]
readme = "README.md"
packages = [{include = "pylav"}]
license = "AGPL-3.0-or-later"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Version Control :: Git",
"Topic :: Utilities",
"Typing :: Typed",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
repository = "https://github.com/PyLav/PyLav"
documentation = "https://pylav.readthedocs.io/en/latest/"
include = [
"CHANGELOG.md",
"LICENSE",
"**/LICENSE.*",
]
exclude = [
"**/__pycache__",
"build",
"dist",
"docs",
]
[tool.poetry.dependencies]
python = ">=3.11,<3.12"
pip = "^23.1.2"
wheel = "^0.40.0"
APScheduler = "^3.10.1"
Brotli = "^1.0.9"
PyYAML = "^6.0"
aiohttp-client-cache = "^0.8.1"
aiopath = "^0.6.11"
asyncpg = "^0.27.0"
asyncspotify = "^0.12.1"
asyncstdlib = "^3.10.8"
cached-property = "^1.5.2"
cashews = {extras = ["dill", "redis"], version = "^6.2.0"}
dacite = "^1.8.1"
deepdiff6 = "^6.2.0"
expiringdict = "^1.2.2"
humanize = "^4.6.0"
importlib-metadata = "^6.6.0"
iso8601 = "^2.0.0"
mutagen = "^1.46.0"
netaddr = "^0.8.0"
numpy = "^1.24.3"
piccolo = {extras = ["all"], version = "^0.114.0"}
redis = "^4.5.5"
tabulate = {extras = ["widechars"], version = "^0.9.0"}
ujson = "^5.8.0"
watchfiles = "^0.19.0"
# Dependencies pre-installed with Red, only required if using PyLav on a Non-Red bot
Red-Commons = { version = "^1.0.0", optional = true}
aiohttp = {extras = ["speedups"], version = "^3.8.4", optional = true}
apsw = { version = "^3.42.0.0", optional = true}
orjson = { version = "^3.9.1", optional = true}
packaging = { version = "^23.1", optional = true}
platformdirs = { version = "^3.5.3", optional = true}
psutil = { version = "^5.9.5", optional = true}
python-dateutil = { version = "^2.8.2", optional = true}
pytz = { version = "^2023.3", optional = true}
rich = { version = "^13.4.1", optional = true}
typing-extensions = { version = "^4.6.3", optional = true}
rapidfuzz = { version = "^3.1.1", optional = true}
uvloop = { version = "^0.17.0", markers = "sys_platform != 'win32' and platform_python_implementation == 'CPython'", optional = true}
# Dependency for the docs
Red-DiscordBot = {version = ">=3.5", optional = true}
furo = { version = "^2023.5.20", optional = true}
olefile = { version = "^0.46", optional = true}
sphinx_rtd_theme = { version = "^1.2.2", optional = true}
sphinx-copybutton = { version = "^0.5.2", optional = true}
sphinx-inline-tabs = { version = "^2023.4.21", optional = true}
sphinx-issues = { version = "^3.0.1", optional = true}
sphinx-removed-in = { version = "^0.2.1", optional = true}
[tool.poetry.extras]
redis = ["redis"]
all = ["redis"]
nored = ["Red-Commons","aiohttp","apsw","importlib-metadata","orjson","packaging","platformdirs","psutil","python-dateutil","pytz","rich","typing-extensions", "uvloop", "rapidfuzz"]
all-nored = ["Red-Commons","aiohttp","apsw","importlib-metadata","orjson","orjson","packaging","platformdirs","psutil","python-dateutil","pytz","redis","rich","typing-extensions", "uvloop", "rapidfuzz"]
docs = ["Red-DiscordBot", "sphinx_rtd_theme", "furo", "olefile", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-issues", "sphinx-removed-in"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/PyLav/PyLav/issues"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
bump = true
style = "semver"
dirty = false
[tool.poetry-dynamic-versioning.substitution]
files = []
patterns = []