[project]
name = "contracts"
version = "1.0.0"
description = "Bulk contract creation tool for the ows-royalties API"
requires-python = ">=3.10"
dependencies = [
    "ijson~=3.3",
    "openpyxl~=3.1",
    "pydantic~=2.10",
    "requests~=2.31",
]

[dependency-groups]
dev = [
    "pytest~=9.0",
    "pytest-httpserver>=1.1.5",
    "ruff~=0.11",
]
integration = [
    {include-group = "dev"},
    "pytest-httpserver~=1.1",
]

[tool.pytest.ini_options]
pythonpath = ["src", "tests"]
testpaths = ["tests"]

[tool.ruff]
line-length = 88
indent-width = 4

[tool.ruff.lint]
select = ["E", "W", "I", "Q"]

[tool.ruff.lint.isort]
combine-as-imports = true

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

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