[project]
name = "amazon_datapulse_trigger"
version = "0.1.0"
description = ""
requires-python = "~=3.11.0"
dependencies = [
  "datadog-lambda~=8.116.0",
  "lambdacommon~=4.5.0",
  "python-jenkins~=1.8.3",
  "requests~=2.33.0",
  "secrets-manager>=1.4.6",
]

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

[dependency-groups]
dev = [
  "freezegun~=1.5.1",
  "pytest~=9.0.3",
  "pytest-cov~=6.0.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",  # docstring in tests
]
"dev/**/*.py" = [
  "D1",  # docstring in dev
]

[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 = ["."]
