diff --git a/pyproject.toml b/pyproject.toml index 4e2a1f2..873b4f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,42 +3,42 @@ requires = ["hatchling"] build-backend = "hatchling.build" [project] -name = "endpoint-monitor-api" -version = "1.0.0" -description = "Secure process-local FastAPI endpoint monitor" -readme = "README.md" +name = "endpoint-monitor-service" +version = "0.1.0" +description = "Process-local FastAPI endpoint monitoring service" requires-python = ">=3.12" dependencies = [ - "aiohttp>=3.10,<4", "fastapi>=0.115,<1", - "pydantic-settings>=2.6,<3", - "uvicorn[standard]>=0.32,<1", + "httpx>=0.27,<1", + "pydantic-settings>=2.5,<3", + "uvicorn[standard]>=0.30,<1", ] [project.optional-dependencies] dev = [ - "httpx>=0.27,<1", - "mypy>=1.13,<2", + "mypy>=1.11,<2", "pytest>=8.3,<9", - "pytest-cov>=6,<7", - "ruff>=0.8,<1", + "pytest-asyncio>=0.24,<1", + "ruff>=0.6,<1", ] [tool.hatch.build.targets.wheel] packages = ["app"] +[tool.pytest.ini_options] +addopts = "-q" +asyncio_mode = "auto" +testpaths = ["tests"] + [tool.ruff] -target-version = "py312" line-length = 100 +target-version = "py312" [tool.ruff.lint] -select = ["E", "F", "I", "UP", "B", "SIM"] +select = ["E", "F", "I", "UP", "B", "ASYNC"] [tool.mypy] python_version = "3.12" strict = true +packages = ["app"] plugins = ["pydantic.mypy"] - -[tool.pytest.ini_options] -testpaths = ["tests"] -addopts = "--strict-markers"