-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
85 lines (73 loc) · 1.7 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[project]
name = "teaching-ir-with-shared-tasks"
requires-python = ">=3.10"
dependencies = [
"annotated-types~=0.7.0",
"cachecontrol[filecache]~=0.14.1",
"chatnoir-pyterrier~=3.0.4",
"click~=8.1",
# Temporary fix of https://github.com/doccano/doccano-client/issues/158
"doccano-client @ git+https://github.com/janheinrichmerker/doccano-client.git@c36a6284e941f774ed1eafb198933d51fb05caec",
# "doccano-client~=1.2.8",
"elasticsearch-dsl~=8.16",
"ir_datasets~=0.5.6",
"pandas~=2.2",
"pyterrier-dr~=0.3.0",
"pyterrier-t5 @ git+https://github.com/terrierteam/pyterrier_t5.git@8caa9a28e6cd102c8e294a6a01a42a6ff8e41c76",
"python-slugify~=8.0",
"python-terrier~=0.11.0",
"requests~=2.32",
"tira~=0.0.125",
"urllib3~=2.2",
"trectools~=0.0.50",
"tqdm~=4.66",
]
dynamic = ["version"]
[project.optional-dependencies]
tests = [
"bandit[toml]~=1.7",
"mypy~=1.5",
"pandas-stubs~=2.2",
"pytest~=8.0",
"pytest-cov~=5.0",
"ruff~=0.7.0",
"types-tqdm~=4.66",
]
[project.scripts]
teaching-ir = "cli.__main__:cli"
[build-system]
requires = [
"setuptools~=75.4",
"setuptools-scm~=8.0",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
namespaces = false
[tool.setuptools.package-data]
"*" = ["*.txt", "*.md", "*.rst"]
[tool.setuptools_scm]
[tool.ruff]
exclude = [
"build",
"venv",
".venv",
]
[tool.mypy]
exclude = [
"build",
"venv",
".venv",
]
ignore_missing_imports = true
[tool.bandit]
exclude_dirs = [
"build",
"venv",
".venv",
]
[tool.bandit.assert_used]
skips = ["**/test_*.py"]
[tool.pytest.ini_options]
log_cli = "True"