-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
51 lines (45 loc) · 1.01 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
[build-system]
requires = ["poetry-core>=1.6.1"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "hm_config"
version = "1.0"
description = "Nebra Helium Hotspot configuration utility"
authors = ["Nebra Ltd <[email protected]>"]
readme = "README.md"
packages = [
{ include = "gatewayconfig" },
{ include = "lib" },
]
[tool.poetry.dependencies]
python = "~3.9"
colorzero = "~2.0"
dbus-python = "~1.3.2"
gpiozero = "~1.6.2"
grpcio = "~1.56.2"
h3 = "~3.7.6"
hm-pyhelper = "~0.14.32"
nmcli = "~1.2.0"
protobuf = "~4.23.4"
pycairo = "~1.24.0"
PyGObject = "~3.44.1"
requests = "~2.31.0"
retry = "~0.9.2"
RPi-gpio = "~0.7.1"
rpi-ws281x = "~5.0.0"
sentry-sdk = "~2.8.0"
urllib3 = "~2.2.2"
gpio4 = "^0.1.6"
[tool.poetry.group.dev.dependencies]
bandit = { version = "~1.7.5", extras = ["toml"] }
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
responses = "^0.23.1"
ruff = "~0.0.277"
[tool.ruff]
line-length = 120
include = ["gatewayconfig", "lib"]
[tool.ruff.mccabe]
max-complexity = 10
[tool.bandit]
exclude_dirs = ["tests"]