Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (68 loc) · 2.04 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (68 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[project]
name = "arguebuf"
version = "3.0.0"
description = "Create and analyze argument graphs and serialize them via Protobuf"
readme = "README.md"
requires-python = ">=3.13,<4"
license = "MIT"
authors = [{ name = "Mirko Lenz", email = "mirko@mirkolenz.com" }]
keywords = ["argument-graph", "argument-mining", "argumentation", "nlp", "protobuf"]
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
]
dependencies = [
"arg-services>=2,<3",
"lxml>=6,<7",
"networkx>=3,<4",
"pygraphviz>=2,<3",
]
[project.urls]
Changelog = "https://github.com/recap-utr/arguebuf-python/releases"
Documentation = "https://arguebuf.readthedocs.io"
Issues = "https://github.com/recap-utr/arguebuf-python/issues"
Repository = "https://github.com/recap-utr/arguebuf-python"
[project.scripts]
arguebuf = "arguebuf.cli.app:cli"
[project.optional-dependencies]
cli = ["arg-services[grpcio]>=2,<3", "deepl>=1,<2", "typer>=0.27,<0.28"]
[dependency-groups]
dev = [
"lxml-stubs>=0.5,<0.6",
"types-networkx>=3,<4",
{ include-group = "docs" },
{ include-group = "test" },
]
docs = ["pdoc>=16,<17"]
test = [
"deepdiff>=9,<10",
"pytest>=9,<10",
"pytest-cov>=7,<8",
"pytest-xdist>=3,<4",
]
[build-system]
requires = ["uv-build>=0.13,<0.14"]
build-backend = "uv_build"
[tool.pytest]
addopts = [
"--numprocesses=auto",
"--cov=arguebuf",
"--cov-report=term-missing",
"--doctest-modules",
"--ignore=src/arguebuf/cli",
]
doctest_optionflags = ["ELLIPSIS", "IGNORE_EXCEPTION_DETAIL", "NORMALIZE_WHITESPACE"]
testpaths = ["src", "tests"]
[tool.ruff.lint.flake8-bugbear]
# frozen and thus safe to use as default argument
extend-immutable-calls = ["arguebuf.load._config.Config"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.uv.exclude-newer-package]
arg-services = false