diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a2a0c26 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,45 @@ +[build-system] +requires = ["hatchling>=1.25"] +build-backend = "hatchling.build" + +[project] +name = "endpoint-monitor" +version = "1.0.0" +description = "Secure on-demand HTTP endpoint monitoring API" +readme = "README.md" +requires-python = ">=3.12" +dependencies = [ + "aiohttp>=3.10,<4", + "fastapi>=0.115,<1", + "pydantic-settings>=2.5,<3", + "uvicorn[standard]>=0.30,<1", +] + +[project.optional-dependencies] +dev = [ + "httpx>=0.27,<1", + "mypy>=1.11,<2", + "pytest>=8.3,<9", + "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] +line-length = 100 +target-version = "py312" + +[tool.ruff.lint] +select = ["E", "F", "I", "UP", "B", "ASYNC"] + +[tool.mypy] +python_version = "3.12" +strict = true +packages = ["app"]