-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
106 lines (93 loc) · 2.48 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"]
build-backend = "setuptools.build_meta"
[project]
name = "pyvolt"
description = "A Python wrapper for the Revolt API"
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE" }
requires-python = ">=3.10"
authors = [{ name = "MCausc78" }]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"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"]
[project.urls]
Documentation = "https://pyvolt.readthedocs.io/en/latest/"
"Issue tracker" = "https://github.com/MCausc78/pyvolt/issues"
[tool.setuptools.dynamic]
dependencies = { file = "requirements.txt" }
[project.optional-dependencies]
voice = [
"livekit>=0.18.1"
]
speed = [
"orjson>=3.5.4",
"aiodns>=1.1",
"Brotli",
]
test = [
"pytest",
"pytest-asyncio",
"typing-extensions>=4.3,<5",
"tzdata; sys_platform == 'win32'",
]
docs = [
"Sphinx>=8.1.3,<9",
"sphinxcontrib_trio==1.1.2",
"sphinxcontrib-websupport>=2.0.0,<3",
"sphinxcontrib-devhelp>=2.0.0,<3",
"sphinxcontrib-htmlhelp>=2.1.0,<3",
"sphinxcontrib-jsmath>=1.0.1,<2",
"sphinxcontrib-qthelp>=2.0.0,<3",
"sphinxcontrib-serializinghtml>=2.0.0,<3",
"typing-extensions>=4.3,<5",
"sphinx-inline-tabs==2023.4.21",
"furo==2024.8.6"
]
[tool.pyright]
typeCheckingMode = "standard"
[tool.ruff]
line-length = 120
target-version = "py310"
# convert-typed-dict-functional-to-class = true
[tool.ruff.format]
quote-style = "single"
docstring-code-format = true
[tool.ruff.lint]
select = [
"ARG001",
"ARG003",
"ARG004",
"ARG005",
"F401",
"F841",
"F842",
"UP037"
]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
section-order = ["future", "standard-library", "first-party", "local-folder", "third-party"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F403"]
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = false
# quoted-annotation = false
[tool.setuptools]
packages = [
"pyvolt",
"pyvolt.raw",
]
include-package-data = true