[tool.poetry]
name = "src"
version = "0.1.0"
description = ""
authors = ["Sony Music PDE"]

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

[tool.poetry.dependencies]
python = ">=3.11,<3.13"
datadog-lambda = "^6.101.0"
ddtrace = "2.16.0"
lambdacommon = "4.5.0"
owsclient = "^0.5.0"
pydantic = "^2.6.1"
pydantic-settings = "^2.0.3"
secrets-manager = "1.4.6"
protobuf = ">=6.31.1"
h11 = ">=0.16.0"
requests = ">=2.32.4"
urllib3 = ">=2.5.0"

[tool.poetry.group.dev.dependencies]
mypy = "^1.9.0"
pytest = "^8.3.1"
pytest-cov = "2.11.1"
pytest-mock = "3.5.1"
ruff = "^0.3.4"

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

[[tool.mypy.overrides]]
module = [
  "lambdacommon.*"
]
ignore_missing_imports = true

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

[tool.ruff.lint]
select = ["C", "E", "F", "W", "B", "I", "UP", "T20", "TID252", "G"]
ignore = ["E501", "B008", "B009"]

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

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

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