-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (52 loc) · 1.44 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
[project]
name = "discord-ext-songbird"
requires-python = ">=3.10"
dependencies = [
"discord.py[voice]",
"audioop-lts; python_version >= '3.13'"
]
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
readme = "README.md"
dynamic = ["version", "description", "authors", "license"]
[build-system]
requires = ["hatchling", "maturin"]
build-backend = "maturin"
[tool.uv.sources]
"discord.py" = { git = "https://github.com/rapptz/discord.py" }
[dependency-groups]
dev = [
"hatchling>=1.26.3",
"maturin>=1.7.6"
]
[tool.maturin]
python-source = "py-src"
module-name = "discord.ext.songbird.backend"
features = ["pyo3/extension-module"]
[tool.ruff]
include = ["py-src/**/*.py", "py-src/**/*.pyi", "examples/**/*.py"]
line-length = 160
target-version = "py313"
[tool.ruff.lint]
ignore = [
"E501",
]
[tool.ruff.format]
quote-style = "double"
line-ending = "auto"
[tool.pyright]
include = ["py-src"]
reportMissingImports = "error"
reportMissingTypeStubs = "error"
pythonVersion = "3.13"
# because of discord.* occurs error
reportAttributeAccessIssue = false