-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
56 lines (50 loc) · 1.38 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
[build-system]
requires = ["poetry>=1.7.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "onyx-homeassistant-integration"
version = "11.0.0"
description = "Home Assistant Integration for Hella's ONYX.CENTER API."
license = "MIT"
authors = [
"Daniel Muehlbachler-Pietrzykowski <daniel.muehlbachler@niftyside.io>",
]
readme = "README.md"
repository = "https://github.com/muhlba91/onyx-homeassistant-integration"
keywords = ["hella", "onxy", "homeassistant"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
]
[tool.poetry.dependencies]
python = ">=3.12,<3.14"
onyx-client = "^9.2.0"
[tool.poetry.dev-dependencies]
pytest = "^8.0.0"
pytest-cov = { extras = ["toml"], version = "^6.0.0" }
coverage = { extras = ["toml"], version = "^7.0.0" }
pre-commit = "^4.0.0"
pytest-asyncio = "^0.24.0"
aioresponses = "^0.7.4"
homeassistant = "^2024.11.0"
ruff = "^0.8.0"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers --cov=custom_components"
testpaths = ["tests"]
norecursedirs = [".git"]
[tool.coverage.run]
relative_files = true
source = ["custom_components"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplemented()",
"if __name__ == .__main__.:",
"main()",
"parser\\..",
"argparse\\..",
]
fail_under = 91
show_missing = true