-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (81 loc) · 1.78 KB
/
pyproject.toml
File metadata and controls
92 lines (81 loc) · 1.78 KB
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
[project]
name = "qtoggleserver"
version = "0.0.0"
description = "A fully fledged qToggle implementation written in Python"
authors = [
{name = "Calin Crisan", email = "ccrisan@gmail.com"},
]
requires-python = ">=3.11"
readme = "README.md"
license = {text = "Apache 2.0"}
dependencies = [
"bleak>=0.14,<1",
"cachetools>=6.2.1",
"cachetools-async>=0.0.5",
"dbus-next>=0.2,<1",
"jinja2>=3,<4",
"jsonpointer>=2.0,<3",
"jsonschema>=2.5,<5",
"psutil>=5.5,<6",
"pyhocon>=0.3.50,<1",
"pyjwt>=2,<3",
"pytz",
"qui-server>=1.18",
"tornado>=6.0,<7",
]
[project.scripts]
qtoggleserver = "qtoggleserver.commands.server:execute"
qtoggleshell = "qtoggleserver.commands.shell:execute"
[project.optional-dependencies]
opt = [
"asyncpg",
"pymongo",
"redis",
]
[dependency-groups]
dev = [
"fakeredis",
"freezegun",
"mongomock",
"pre-commit",
"pytest",
"pytest-asyncio",
"pytest-mock",
"ruff",
"testing.postgresql",
]
[tool.setuptools]
py-modules = [
"startup",
"version",
]
include-package-data = false
[tool.setuptools.packages.find]
include = [
"qtoggleserver*",
]
exclude = [
"qtoggleserver.frontend.node_modules*",
]
[tool.setuptools.package-data]
qtoggleserver = [
"frontend/dist/**",
]
[tool.uv]
package = true
[tool.ruff]
line-length = 120
lint.extend-select = ["I", "RUF022", "ANN", "E501"]
lint.extend-ignore = ["ANN002", "ANN003", "ANN401"]
lint.isort.lines-after-imports = 2
lint.isort.lines-between-types = 1
lint.isort.force-wrap-aliases = true
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ANN001", "ANN201", "ANN202"]
[tool.pytest.ini_options]
testpaths = ["tests/qtoggleserver"]
asyncio_mode = "auto"
addopts = "-v"
[tool.mypy]
explicit_package_bases = true
ignore_missing_imports = true