[project]
name = "spotify_daily_chart_freshness"
version = "0.1.0"
description = "Monitors Spotify daily chart freshness and alerts when FACT_CHARTS lags behind the provider API."
requires-python = "~=3.11.0"
dependencies = [
  "cryptography>=48.0.1",
  "datadog-lambda~=8.116.0",
  "lambdacommon~=4.5.0",
  "requests~=2.33.0",
  "snowflake-connector-python>=3.13.1",
]

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

[dependency-groups]
dev = [
  "moto[ssm,secretsmanager]~=5.0.0",
  "pytest~=9.0.3",
  "pytest-cov~=6.0.0",
  "pytest-mock~=3.12.0",
  "ruff>=0.9.3,<1.0.0",
  "yamllint~=1.35.1",
]

[tool.ruff]
line-length = 88
target-version = "py311"

[tool.ruff.lint]
select = ["D", "E", "F", "I", "Q", "W"]
ignore = ["D413", "I001"]

[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = [
  "D1",
]

[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.ruff.format]
quote-style = "single"

[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"

[tool.pytest.ini_options]
pythonpath = ["."]
