[tool.poetry]
name = "auth0-m2m-token-secret-rotation"
version = "0.0.1"
description = "Lambdas for managing machine-to-machine (M2M) clients in Auth0."
authors = ["Sony Music PDE"]
readme = "README.md"
packages = [
    { include = "src" }
]


[tool.poetry.dependencies]
python = "^3.11"
aws-lambda-powertools = "^2.42.0"
boto3-stubs = {version = "^1.34.153", extras = ["lambda", "secretsmanager"]}
datadog-lambda = "^6.95.0"
pydantic = "^2.8.2"
jwtauth = "^0.2.0"
httpx = "^0.27.2"
boto3 = "^1.35.26"
sentry-sdk = "^2.14.0"

[tool.poetry.group.dev.dependencies]
ruff = "^0.2.2"
mypy = "^1.10.0"
pytest = "^9.0.3"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
respx = "^0.21.1"
freezegun = "^1.5.1"


[[tool.poetry.source]]
name = "PyPI"
priority = "primary"


[[tool.poetry.source]]
name = "theorchard"
url = "https://pypi.theorchard.io/pypi/"
priority = "supplemental"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"


[tool.mypy]
python_version = "3.11"
strict = true
pretty = true
color_output = true
show_error_codes = true
