-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
88 lines (77 loc) · 1.84 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
86
87
88
[tool.black]
line-length = 120
target-version = ["py310"]
skip-string-normalization = true
[tool.isort]
profile = "black"
known_first_party = ["radfact"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[tool.pylint]
max-line-length = 120
disable = [
"logging-fstring-interpolation",
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
"no-value-for-parameter",
"no-name-in-module",
"no-member",
]
[build-system]
requires = ["setuptools==69.5.1"]
build-backend = "setuptools.build_meta"
[project]
name = "radfact"
version = "1.0.0"
description = "RadFact: Code for the entailment verification metric RadFact"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "Biomedical Imaging Team - Health Futures UK", email = "[email protected]" },
]
maintainers = [
{ name = "Biomedical Imaging Team - Health Futures UK", email = "[email protected]" },
]
dependencies = [
# azure utils
"azureml-sdk",
"azureml-tensorboard",
"azure-keyvault",
"hi-ml-azure",
# llm utils
"hydra-core==1.3.2",
"langchain==0.2.17",
"langchain-community==0.2.19",
"langchain-openai==0.1.25",
"openai==1.55.0",
"pydantic==1.10.17",
"redis",
# radfact other
"numpy",
"pandas",
]
[project.optional-dependencies]
dev = [
# linting, formatting, type checking
"black",
"flake8",
"ipykernel",
"mypy",
"pre-commit",
"pyyaml",
"pandas-stubs",
"types-Pillow",
"types-PyYAML",
"types-tqdm",
]
test = [
"mock",
"pandas-stubs",
"pytest",
"pytest-lazy-fixture",
]
[project.urls]
repository = "https://github.com/microsoft/RadFact"
[project.scripts]
run_radfact = "radfact.cli.run_radfact:main"
run_report_to_phrases = "radfact.cli.run_report_to_phrases:main"