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