-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (60 loc) · 1.46 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
57
58
59
60
61
62
63
64
65
66
67
68
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "clinlp"
version = "0.9.1"
description = "Performant and production-ready NLP pipelines for clinical text written in Dutch"
readme = "README.md"
authors = [ {name = "UMCU DIT Analytics", email="[email protected]"} ]
requires-python = ">=3.10"
dependencies = [
"intervaltree ~= 3.1",
"makefun ~= 1.15",
"numpy ~= 2.0",
"pandas ~= 2.2",
"pydantic ~= 2.6",
"spacy ~= 3.8",
]
[project.optional-dependencies]
metrics = [
"nervaluate == 0.1.8",
"scikit-learn ~= 1.5",
]
transformers = [
"transformers[torch] ~= 4.30",
]
[tool.uv]
dev-dependencies = [
"emoji ~= 2.12",
"furo ~= 2024.5",
"myst-parser ~= 4.0",
"pytest ~= 8.2",
"pytest-cov ~= 5.0",
"pytest-xdist>=3.6.1",
"ruff ~= 0.4",
"sphinx ~= 8.1",
"sphinx-new-tab-link ~= 0.4",
"toml ~= 0.10",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=clinlp --cov-fail-under=85"
[tool.ruff]
src = ["src"]
[tool.ruff.lint]
select = [
"F", "E", "W", "C90", "I", "N", "D", "UP", "ANN", "S",
"BLE", "FBT", "B", "C4", "EM", "PIE", "T20",
"PT", "RSE", "RET", "SIM", "ARG", "PTH", "ERA",
"TRY", "PERF", "RUF"
]
ignore = [
"ANN002", "ANN003", "ANN101", "ANN102"
]
[tool.ruff.lint.per-file-ignores]
"docs/*" = ["D"]
"tests/*" = ["D", "S", "ANN"]
"scripts/*" = ["D", "T20"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"