-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (57 loc) · 1.33 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (57 loc) · 1.33 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "helioslate"
version = "0.13.3"
description = "Private, local-first SunPower PVS6 monitoring dashboard"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
dependencies = [
"cryptography>=45,<47",
"fastapi>=0.116,<1",
"httpx>=0.28,<1",
"keyring>=25.6,<26",
"pillow>=11.3,<13",
"pydantic-settings>=2.10,<3",
"pystray>=0.19.5,<1",
"qrcode>=8.2,<9",
"sqlalchemy>=2.0.41,<3",
"uvicorn[standard]>=0.35,<1",
]
[project.optional-dependencies]
dev = [
"mypy>=1.16,<2",
"pytest>=8.4,<9",
"pytest-asyncio>=1.0,<2",
"pytest-cov>=6.2,<8",
"ruff>=0.12,<1",
"types-qrcode>=8.2,<9",
]
build = [
"cx-Freeze>=8.4,<9",
]
[project.scripts]
helioslate = "helioslate.launcher:main"
helioslate-probe = "helioslate.cli.probe:main"
helioslate-capture = "helioslate.cli.capture:main"
[tool.hatch.build.targets.wheel]
packages = ["backend/helioslate"]
[tool.pytest.ini_options]
addopts = "-q --strict-markers"
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["backend"]
[tool.ruff]
target-version = "py312"
line-length = 100
src = ["backend", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "S", "ASYNC"]
ignore = ["S101"]
[tool.mypy]
python_version = "3.12"
strict = true
packages = ["helioslate"]
mypy_path = "backend"