-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
83 lines (71 loc) · 1.62 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
[tool.poetry]
name = "DermaML"
version = "0.0.0"
description = ""
license = "Apache-2.0"
authors = [
"April Zhang <[email protected]>",
"Hannah Zhang <[email protected]>",
"Nicole Tin <[email protected]>",
"Kevin Chu <[email protected]>"
]
[tool.poetry.dependencies]
python = "^3.10,<3.12"
# data management
dvc = {extras = ["s3"], version = "^3"}
fds = {git = "https://github.com/velexi-research/fds.git"} # Fork of FastDS
# research infrastructure
ipython = "^8"
jupyter-dash = "^0.4"
jupyterlab = "^4"
matplotlib = "^3"
mlflow = "^2"
# miscellaneous utilities
pdoc = "^14"
python-slugify = "^8"
PyYAML = "^6"
tqdm = "^4"
typer = "^0,>=0.12"
# software testing
coverage = "^7"
pytest = "^8"
pytest-cov = "^5"
pytest-xdist = "^3"
# code quality
black = {extras = ["jupyter"], version = "^24"}
flake8 = "^7"
pre-commit = "^3"
# security vulnerability fixes
pywin32 = [
{ version = '>=301', platform = 'win32' },
]
# project-specific packages
kaleido = "^0,<=0.2.1"
mediapipe = "^0.10"
opencv-python = "^4"
pillow = "^10"
pycaret = "^3.3.2"
scikit-image = "^0.23"
rembg = "^2"
pyfeats = "^1.0.1"
shap = "^0.46.0"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra --doctest-modules --cov --cov-report="
testpaths = [
"src",
]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ALLOW_UNICODE",
"ALLOW_BYTES",
]
norecursedirs = ["data", "docs", "extras", "notebooks", "reports", "spikes"]
[tool.coverage.run]
source = ["src/"]
[tool.coverage.report]
omit = ["*/tests/*"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"