homelab_automation/pyproject.toml
Bruno Charest ecefbc8611
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
Clean up test files and debug artifacts, add node_modules to gitignore, export DashboardManager for testing, and enhance pytest configuration with comprehensive test markers and settings
2025-12-15 08:15:49 -05:00

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",
]