[project]
name = "fargate-redeploy"
version = "0.1.0"
description = "Lambda functions which triggers redeployment of a fargate service"
readme = "README.md"
requires-python = "~=3.13.0"
dependencies = [
    "datadog_lambda>=6.110.0",
    "ddtrace==2.21.9",
    "botocore>=1.38.34",
    "pydantic==2.11.5",
    "boto3>=1.38.34",
    "sentry-sdk==2.64.0",
    "lambdacommon==7.3.0",
    "python-dotenv>=1.2.2,<2",
    "aws-lambda-powertools>=3.14.0",
]

[dependency-groups]
dev = [
    "boto3-stubs[ecs,ec2]==1.38.34",
    "ruff>=0.11.4",
    "pytest==9.0.3",
    "pytest-cov>=6.1.1,<7",
    "moto[ecs,ec2]~=5.1.4",
    "dirty-equals==0.9.0",
    "rich>=14.0.0",
]

[tool.uv]
default-groups = [
    "dev",
]
no-build-package = ["ddtrace"]

[[tool.uv.index]]
name = "theorchard"
url = "https://pypi.theorchard.io/pypi/"

[tool.ruff]
line-length = 120

[tool.ruff.lint]
select = ["E", "I", "F"]

[tool.pytest.ini_options]
addopts = "-p no:ddtrace -p no:ddtrace.pytest_bdd -p no:ddtrace.pytest_benchmark"

