-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
60 lines (53 loc) · 1.24 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
[build-system]
requires = ["poetry-core>=1.6.1"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "hw_diag"
version = "1.0"
description = "Diagnostics tool for Nebra Helium Hotspot software"
authors = ["Nebra Ltd <[email protected]>"]
readme = "README.md"
packages = [
{ include = "hw_diag" }
]
[tool.poetry.dependencies]
python = "~3.11"
alembic = "~1.11.1"
bcrypt = "~4.0.1"
certifi = "~2024.7.4"
click = "~8.1.4"
dbus-python = "~1.3.2"
Flask = "~2.3.2"
Flask-APScheduler = "~1.12.4"
Flask-Caching = "~2.0.2"
grpcio = "~1.56.2"
gunicorn = "~22.0.0"
hm-pyhelper = "0.14.36"
icmplib = "~3.0.3"
ipaddress = "~1.0.23"
password-strength = "~0.0.3.post2"
persist-queue = "~0.8.1"
psutil = "~5.9.5"
pydantic = "~1.10.13"
python-gnupg = "~0.5.0"
requests = "~2.32.2"
retry = "~0.9.2"
sentry-sdk = { version = "~2.8.0", extras = ["Flask"] }
SQLAlchemy = "2.0.18"
uptime = "3.0.1"
werkzeug = "3.0.6"
[tool.poetry.group.dev.dependencies]
bandit = { version = "~1.7.5", extras = ["toml"] }
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
ruff = "~0.0.277"
responses = "^0.23.1"
[tool.poetry.scripts]
hm_diag = "hw_diag.app:main"
[tool.ruff]
line-length = 120
exclude = ["hw_diag/tests"]
[tool.ruff.mccabe]
max-complexity = 10
[tool.bandit]
exclude_dirs = ["tests"]