Files
telemetry-client-py/pyproject.toml

50 lines
1.0 KiB
TOML

[project]
name = "mosaicstack-telemetry"
version = "0.1.0"
description = "Python client SDK for Mosaic Stack Telemetry"
requires-python = ">=3.10"
license = "MPL-2.0"
dependencies = [
"httpx>=0.25.0",
"pydantic>=2.5.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"pytest-asyncio>=0.24",
"ruff>=0.14.0",
"mypy>=1.15",
"respx>=0.21.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/mosaicstack_telemetry"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "--cov=src/mosaicstack_telemetry --cov-report=term-missing --cov-fail-under=85"
[tool.ruff]
line-length = 100
target-version = "py310"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "B", "UP", "S", "A", "C4", "DTZ", "T20", "RUF"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101"]
[tool.mypy]
python_version = "3.10"
strict = true
plugins = ["pydantic.mypy"]
mypy_path = "src"