From 5c8924e9e373c7a9d6ddda19b0db246af0e63c08 Mon Sep 17 00:00:00 2001 From: demo-bot Date: Sun, 9 Aug 2026 16:04:01 +0000 Subject: [PATCH] decomposer: generate deliverable files for Define the service contract and project architecture for the FastAPI endpoint monitoring service.; Implement the typed monitor CRUD API and concurrency-safe in-memory state according to the service design.; Implement secure on-demand endpoint checks with status updates, latency measurement, robust error handling, and redacted structured logs.; Add operational API endpoints and environment-driven runtime configuration to the monitoring service.; Create automated tests for the monitoring service.; Package the service with Docker and developer documentation.; Validate the complete project. --- pyproject.toml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a4031a5..b3b57f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling>=1.26"] +requires = ["hatchling"] build-backend = "hatchling.build" [project] @@ -18,7 +18,7 @@ dependencies = [ dev = [ "mypy>=1.13,<2", "pytest>=8.3,<9", - "pytest-asyncio>=0.24,<1", + "pytest-anyio>=0.0.0,<1", "ruff>=0.8,<1", ] @@ -26,16 +26,15 @@ dev = [ packages = ["app"] [tool.pytest.ini_options] -addopts = "-q" -asyncio_mode = "auto" testpaths = ["tests"] +addopts = "-q" [tool.ruff] +line-length = 120 target-version = "py312" -line-length = 100 [tool.ruff.lint] -select = ["E", "F", "I", "UP", "B", "ASYNC"] +select = ["E", "F", "I", "B", "UP"] [tool.mypy] python_version = "3.12"