[project]
name = "docling-metrics-table"
version = "0.7.0" # DO NOT EDIT, updated automatically
description = "Tree-Edit-Distance Score metric"
license = "MIT"
keywords = ["docling", "metrics", "evaluation", "example", "table", "teds", "tree-edit-distance-score", "cpp"]
readme = "README.md"
authors = [
    { name = "Nikos Livathinos", email = "nli@zurich.ibm.com" },
    { name = "Christoph Auer", email = "cau@zurich.ibm.com" },
    { name = "Peter Staar", email = "taa@zurich.ibm.com" },
]
classifiers = [
    "Operating System :: MacOS :: MacOS X",
    "Operating System :: POSIX :: Linux",
    "Operating System :: Microsoft :: Windows",
    "Development Status :: 4 - Beta",
    "Intended Audience :: Developers",
    "Intended Audience :: Science/Research",
    "Topic :: Scientific/Engineering :: Artificial Intelligence",
    "Programming Language :: Python :: 3",
]
requires-python = ">=3.10,<4.0"
dependencies = [
    "docling-metrics-core>=0.0.1",
    "pybind11",
    "apted",
    "pydantic",
    "RapidFuzz",
    "lxml",
]

[project.urls]
homepage = "https://github.com/docling-project/docling-metrics"
repository = "https://github.com/docling-project/docling-metrics"
issues = "https://github.com/docling-project/docling-metrics/issues"

[build-system]
requires = ["scikit-build-core>=0.10", "pybind11>=2.12"]
build-backend = "scikit_build_core.build"

[tool.scikit-build]
wheel.packages = ["docling_metrics_table"]

[tool.uv]
package = true

[tool.uv.sources]
docling-metrics-core = { workspace = true }

[dependency-groups]
test = [
    "coverage~=7.6",
    "pytest~=8.3",
    "pytest-cov>=6.1.1",
    "pytest-dependency~=0.6",
    "pytest-xdist~=3.3",
]

[tool.semantic_release]
version_source = "tag_only"
branch = "main"
parser_angular_allowed_types = "build,chore,ci,docs,feat,fix,perf,style,refactor,test"
parser_angular_minor_types = "feat"
parser_angular_patch_types = "fix,perf"


[tool.mypy]

[[tool.mypy.overrides]]
module = [
    "docling_metric_table_cpp",
    "lxml.*",
    "distance.*",
    "apted.*",
]
