-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
70 lines (56 loc) · 1.71 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
[project]
name = "tsbot"
version = "1.5.0"
authors = [{ name = "jykob" }]
description = "Asynchronous Python framework to build TeamSpeak 3 Server Query bots"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"asyncssh >= 2.17.0",
"tsformatter >= 0.2.1",
"typing_extensions >= 4.12.2",
]
license = { file = "LICENSE" }
urls = { repository = "https://github.com/jykob/tsbot", documentation = "https://tsbot.readthedocs.io/" }
[project.optional-dependencies]
dev = [
"ruff >= 0.4.4",
"pyright >= 1.1.362",
"sphinx-autobuild >= 2024.4.16",
"python-dotenv >= 1.0.1",
]
tests = ["pytest == 8.3.3", "pytest-asyncio == 0.24.0"]
docs = [
"sphinx >= 7.3.7",
"myst-parser >= 2.0.0",
"sphinx-autodoc-typehints >= 2.1.0",
"sphinx_rtd_theme >= 2.0.0",
]
[build-system]
requires = ["setuptools >= 69.5.1", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = { find = { include = ["tsbot*"] } }
package-data = { tsbot = ["py.typed"] }
[tool.pyright]
typeCheckingMode = "strict"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "ANN", "SIM", "RUF", "ASYNC"]
ignore = ["E501", "ANN401", "ANN1"]
[tool.ruff.lint.per-file-ignores]
"examples/**/*" = ["ASYNC230", "ANN201"]
"tests/**/*" = ["ANN2", "ASYNC110"]
"docs/**/*" = ["ANN2"]
[tool.pytest]
ini_options = { asyncio_default_fixture_loop_scope = "function" }