Some checks failed
Tests / Backend Tests (Python) (3.10) (push) Has been cancelled
Tests / Backend Tests (Python) (3.11) (push) Has been cancelled
Tests / Backend Tests (Python) (3.12) (push) Has been cancelled
Tests / Frontend Tests (JS) (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / All Tests Passed (push) Has been cancelled
44 lines
824 B
TOML
44 lines
824 B
TOML
[project]
|
|
name = "homelab-automation-api"
|
|
version = "2.0.0"
|
|
description = "Homelab Automation Dashboard with FastAPI"
|
|
requires-python = ">=3.10"
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.coverage.run]
|
|
source = ["app"]
|
|
branch = true
|
|
omit = [
|
|
"app/__pycache__/*",
|
|
"app/app_optimized.py",
|
|
"tests/*",
|
|
]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"pragma: no cover",
|
|
"def __repr__",
|
|
"raise NotImplementedError",
|
|
"if TYPE_CHECKING:",
|
|
"if __name__ == .__main__.:",
|
|
]
|
|
fail_under = 45
|
|
show_missing = true
|
|
|
|
[tool.coverage.html]
|
|
directory = "htmlcov"
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.23.0",
|
|
"pytest-cov>=4.1.0",
|
|
"httpx>=0.27.0",
|
|
"respx>=0.21.0",
|
|
"freezegun>=1.4.0",
|
|
"pytest-mock>=3.12.0",
|
|
"factory-boy>=3.3.0",
|
|
]
|