forked from acesyde/hassio_mylight_integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (45 loc) · 1.14 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 = "mylight_systems"
version = "0.0.6"
description = "MyLight Systems integration for Home Assistant"
authors = ["Pierre-Emmanuel Mercier <[email protected]>"]
license = "MIT"
keywords = ["homeassistant", "hassio", "mylight", "solar", "power", "energy"]
readme = "README.md"
repository = "https://github.com/acesyde/hassio_mylight_integration"
packages = [{ include = "custom_components/mylight_systems" }]
[tool.poetry.dependencies]
python = "~3.11"
colorlog = "^6.7.0"
aiohttp = "^3.8.5"
homeassistant = "^2023.1.0"
async-timeout = "^4.0.3"
[tool.poetry.group.dev.dependencies]
asynctest = "^0.13.0"
pytest = "^7.4.3"
pytest-asyncio = "^0.21.1"
pytest-cov = "^4.1.0"
pytest-socket = "^0.6.0"
aioresponses = "^0.7.6"
ruff = "^0.1.7"
pre-commit = "^3.5.0"
vulture = "^2.10"
[virtualenvs]
create = true
in-project = true
[tool.ruff]
line-length = 120
target-version = "py311"
exclude = [
".venv"
]
[tool.pytest.ini_options]
addopts = "-rxf -x -v -l --cov=./ --cov-report=xml"
pythonpath = ["custom_components/mylight_systems"]
testpaths = [
"tests"
]
[tool.vulture]
min_confidence = 80
paths = ["custom_components", "tests"]
verbose = true