-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
56 lines (46 loc) · 1.57 KB
/
pyproject.toml
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
[tool.poetry]
name = "arguebuf"
version = "2.6.3"
description = "Create and analyze argument graphs and serialize them via Protobuf"
authors = ["Mirko Lenz <info@mirko-lenz.de>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/recap-utr/arguebuf-python"
documentation = "https://arguebuf.readthedocs.io/en/latest"
packages = [{ include = "arguebuf" }]
[tool.poetry.scripts]
arguebuf = "arguebuf.cli.app:cli"
[tool.poetry.dependencies]
python = "^3.11"
arg-services = "^1.6"
networkx = "^3.2"
pendulum = "^3.0"
graphviz = "^0.20"
lxml = "^5.1"
typer = { version = "^0.9", extras = ["all"], optional = true }
deepl = { version = "^1.16", optional = true }
pygraphviz = { version = "^1.12", optional = true }
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
pytest-cov = "^6.0.0"
pytest-xdist = "^3.5"
deepdiff = { version = "^8.0.0", extras = ["murmur"] }
lxml-stubs = "^0.5.0"
[tool.poetry.group.docs.dependencies]
pdoc = "^15.0.0"
[tool.poetry.extras]
cli = ["typer", "deepl"]
graphviz = ["pygraphviz"]
[tool.pytest.ini_options]
addopts = "--numprocesses 4 --dist load --cov arguebuf --cov-report term-missing --doctest-modules --ignore arguebuf/cli --ignore data --ignore result"
doctest_optionflags = "NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS"
[tool.ruff]
target-version = "py311"
[tool.ruff.lint.per-file-ignores]
# typer requires the use of Optional[TYPE] instead of TYPE | None
"arguebuf/cli/**/*.py" = ["UP007"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"