45 lines
871 B
TOML
45 lines
871 B
TOML
[build-system]
|
|
requires = ["hatchling>=1.25"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "endpoint-monitor"
|
|
version = "1.0.0"
|
|
description = "Secure process-local FastAPI endpoint monitor"
|
|
readme = "README.md"
|
|
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-asyncio>=0.24,<1",
|
|
"ruff>=0.6,<1",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/endpoint_monitor"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
addopts = "--strict-markers"
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 160
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "ASYNC"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
strict = true
|
|
packages = ["endpoint_monitor"]
|