[project]
name = "lambda-datadog-common"
version = "0.1.0"
description = "Common Datadog utilities."
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
    "datadog-api-client==2.55.0",
]

[dependency-groups]
dev = [
    "pytest==8.1.1",
    "pytest-mock==3.14.0",
    "ruff==0.1.6",
    "mypy==1.8.0",
]

[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = ["--strict-markers"]

[tool.ruff]
line-length = 82

[tool.ruff.lint]
select = [
    "E",    # pycodestyle errors
    "F",    # pyflakes
    "I",    # isort
    "Q",    # flake8-quotes
    "D",    # pydocstyle
]

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

[tool.ruff.lint.isort]
known-first-party = ["common"]
known-third-party = ["datadog_api_client"]

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