nix-builder-autoscaler/agent/pyproject.toml

47 lines
906 B
TOML
Raw Permalink Normal View History

2026-02-27 11:59:16 +01:00
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "nix-builder-autoscaler"
version = "0.1.0"
description = "Autoscaler daemon for Nix remote builders on EC2 Spot instances"
requires-python = ">=3.12"
dependencies = [
"boto3",
"fastapi",
"uvicorn[standard]",
]
[project.scripts]
autoscalerctl = "nix_builder_autoscaler.cli:main"
[dependency-groups]
dev = [
"ruff",
"pyright",
"pytest",
"httpx",
"botocore",
]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "ANN"]
ignore = ["ANN401"]
2026-02-27 11:59:16 +01:00
[tool.ruff.lint.per-file-ignores]
"*/tests/*" = ["ANN"]
[tool.pyright]
pythonVersion = "3.12"
typeCheckingMode = "standard"
include = ["nix_builder_autoscaler"]
exclude = ["**/tests"]
[tool.pytest.ini_options]
testpaths = ["nix_builder_autoscaler/tests"]