tailscalesd/pyproject.toml

55 lines
1.2 KiB
TOML
Raw Normal View History

[project]
2023-11-05 20:16:47 +01:00
name = "tailscalesd"
version = "0.1.0"
2023-11-06 09:13:21 +01:00
description = "Discover services to monitor with prometheus over tailscale"
authors = [{ name = "Abel Luck", email = "abel@guardianproject.info" }]
license = { file = "LICENSE.md" }
2023-11-05 20:16:47 +01:00
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"tailscale>=0.6.0,<0.7.0",
"fastapi>=0.104.1,<0.105.0",
"uvicorn>=0.24.0,<0.25.0",
"httpx>=0.25.1,<0.26.0",
"pydantic-settings>=2.0.3,<3.0.0",
"json-logging>=1.3.0,<2.0.0",
"prometheus-client>=0.18.0,<0.19.0",
"prometheus-fastapi-instrumentator>=6.1.0,<7.0.0",
2023-11-05 20:16:47 +01:00
]
[project.urls]
Homepage = "https://guardianproject.dev/ops/tailscalesd"
Repository = "https://guardianproject.dev/ops/tailscalesd"
2023-11-05 20:16:47 +01:00
[project.scripts]
tailscalesd = "tailscalesd.main:main"
2023-11-05 20:16:47 +01:00
[dependency-groups]
dev = [
"pytest",
"pytest-asyncio",
"flake8",
"black",
"ruff",
"pyright",
"bandit",
"isort",
"mypy>=1.2.0",
]
2023-11-05 20:16:47 +01:00
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["tailscalesd"]
2023-11-05 20:16:47 +01:00
[tool.isort]
py_version = 311
2023-11-05 20:16:47 +01:00
profile = "black"
src_paths = ["tailscalesd", "tests"]
2023-11-05 20:16:47 +01:00
[tool.black]
line-length = 88
target-version = ['py311']