43 lines
814 B
TOML
43 lines
814 B
TOML
[build-system]
|
|
requires = ["hatchling>=1.25"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "endpoint-monitor-service"
|
|
version = "1.0.0"
|
|
description = "A secure process-local FastAPI endpoint monitor"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115,<1",
|
|
"httpx>=0.27,<1",
|
|
"pydantic-settings>=2.5,<3",
|
|
"uvicorn[standard]>=0.30,<1",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"mypy>=1.11,<2",
|
|
"pytest>=8.3,<9",
|
|
"pytest-anyio>=0.0.0,<0.1",
|
|
"ruff>=0.6,<1",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/monitor_service"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q"
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
strict = true
|
|
packages = ["monitor_service"]
|