homelab_automation/pyproject.toml
Bruno Charest 68a9b0f390
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
Remove Node.js cache files containing npm vulnerability data for vitest and vite packages
2025-12-15 20:36:06 -05:00

48 lines
883 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]
docker = [
"asyncssh>=2.0.0",
]
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",
"asyncssh>=2.0.0",
]