-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (45 loc) · 1 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (45 loc) · 1 KB
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
[project]
name = "ora"
version = "1.0.0"
requires_python = ">=3.14.2"
authors = [{name = "FunCyRanger"}]
dependencies = [
"aiohttp>=3.10.0",
]
[project.scripts]
ora = "ora.__main__:main"
[dependency-groups]
dev = [
"aioresponses>=0.7.8",
"pytest>=9.0.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"pytest-homeassistant-custom-component>=0.13",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--tb=short",
"--strict-markers",
]
markers = [
"integration: Integration tests (unit tests for components)",
"system: System tests (full integration tests)",
"asyncio: Async tests",
]
[tool.coverage.run]
source = ["custom_components/ora"]
omit = ["tests/*", "*/__pycache__/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if TYPE_CHECKING:",
"@abstractmethod",
]