-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
89 lines (79 loc) · 2.03 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
89
[tool.poetry]
name = "multimedeval"
version = "0.1.2.dev0"
description = "A Python tool to evaluate the performance of VLM on the medical domain."
authors = ["Corentin Royer"]
readme = "README.md"
homepage = "https://github.com/corentin-ryr/MultiMedEval"
repository = "https://github.com/corentin-ryr/MultiMedEval"
documentation = "https://github.com/corentin-ryr/MultiMedEval"
keywords = ["evaluation", "medical", "vlm"]
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
packages = [{include="multimedeval"}]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = ">=3.9"
torch = "*"
transformers = "*"
datasets = ">=2.16"
nltk = "*"
torchmetrics = "*"
gdown = "*"
scikit-learn = "1.3.2" # For pickling warning messages
statsmodels = "*"
bert_score = "*"
pydicom = "*"
kaggle = "*"
medmnist = "*"
Pillow = ">=10.2.0"
types-requests = "*"
protobuf = "*"
nibabel = "*"
radgraph = { git = "https://github.com/corentin-ryr/radgraph.git", branch = "relax-dependencies" }
[tool.poetry.group.dev.dependencies]
pytest = "^7.0"
pytest-cov = "^4.0"
pytest-order = "^1.0"
plotly = "^5.0"
tabulate = ">=0.9.0"
types-tabulate = "^0.8"
colour = "^0.1"
flake8 = "^6.0"
black = "^23.0"
pylint = "^2.0"
pre-commit = "^3.0"
mypy = "^1.0"
isort = "^5.0"
flake8-bugbear = "^23.0"
flake8-comprehensions = "^3.0"
flake8-executable = "^2.0"
flake8-pyi = "*"
appdirs = "^1.4.4"
kaleido = "0.2.1"
[tool.pytest.ini_options]
addopts = "--cov=multimedeval"
testpaths = "tests"
[tool.coverage.run]
omit = ["multimedeval/chexbert/*", "multimedeval/tqdm_loggable.py"]
[tool.isort]
profile = "black"
line_length = 88
py_version=38
[tool.mypy]
pretty = true
# strict = true
ignore_missing_imports = true
no_implicit_optional = true
python_version = "3.8"
[[tool.mypy.overrides]]
module = "numpy"
ignore_missing_imports = true