-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (41 loc) · 1.52 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
[tool.poetry]
name = "plejd-mqtt-ha"
version = "0.1.0"
description = ""
authors = ["Viktor Karlquist <[email protected]>"]
readme = "README.md"
packages = [{include = "plejd_mqtt_ha"}]
[tool.poetry.dependencies]
python = ">=3.11.0,<3.13" # Bleak requires version < 3.13
paho-mqtt = "^1.6.1" # MQTT library
ha-mqtt-discoverable = "^0.13.0" # Create MQTT entities that are discovered by HA
bleak = "^0.21.1" # BLE library
requests = "^2.31.0" # To communicate with plejd API
tomli = "^2.0.1" # TOML parser to store plejd site
numpy = "^1.25.2" # To parse BLE payload, could probably be done without numpy
cryptography = "^41.0.5" # Used to create AES cipher to authenticate against plejd mesh
pydantic = "^1.10.13" # Data validation
ntplib = "^0.4.0" # To get time from an NTP server
[tool.poetry.group.dev.dependencies]
mypy = "^1.8.0" # Type checking
pylint = "^3.0.3" # Linting
pycodestyle = "^2.11.0" # Code style
pytest = "^7.4.4" # Tests
[tool.pylint.format]
max-line-length = 100
[tool.flake8]
max-line-length = 100
[tool.black]
line-length = 100
[tool.pylint.'MESSAGES CONTROL']
disable="fixme"
[tool.pylint.MASTER]
ignore="tools"
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
[tool.poetry.group.test.dependencies]
pytest-mock = "^3.6.1"
pytest-asyncio = "^0.23.2"
[tool.pytest.ini_options]
testpaths = "tests"