[project]
name = "src"
version = "0.1.0"
description = ""
authors = [
    {name = "Sony Music PDE"}
]

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

[tool.poetry.dependencies]
datadog-lambda = "^8.116.0"
ddtrace = "^3.2.1"
python = "~3.13"
confluent-kafka = "^2.8.2"
sentry-sdk = "^2.22.0"

[tool.poetry.group.dev.dependencies]
mypy = "^1.15.0"
pytest = "^8.3.5"
pytest-cov = "^6.0.0"
ruff = "^0.9.10"
boto3 = "^1.37.11"
boto3-stubs = {extras = ["lambda"], version = "^1.37.11"}

[tool.mypy]
python_version = "3.13"
show_error_codes = true
strict = true
mypy_path = "./stubs"

[tool.ruff]
line-length = 100
target-version = "py313"

[tool.ruff.lint]
# Basic starter config from https://docs.astral.sh/ruff/linter/#rule-selection
select = [
    # pycodestyle
    "E",
    # Pyflakes
    "F",
    # pyupgrade
    "UP",
    # flake8-bugbear
    "B",
    # flake8-simplify
    "SIM",
    # isort
    "I",
]

[tool.ruff.lint.isort]
combine-as-imports = true
forced-separate = ["tests"]

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

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

[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
