-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathpyproject.toml
More file actions
200 lines (186 loc) · 3.98 KB
/
pyproject.toml
File metadata and controls
200 lines (186 loc) · 3.98 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
[build-system]
requires = ["setuptools>=77", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "dvclive"
description = "Experiments logger for ML projects."
readme = "README.md"
keywords = [
"ai",
"metrics",
"collaboration",
"data-science",
"data-version-control",
"developer-tools",
"git",
"machine-learning",
"reproducibility"
]
license = "Apache-2.0"
license-files = ["LICENSE"]
maintainers = [{name = "Iterative", email = "support@dvc.org"}]
authors = [{name = "Iterative", email = "support@dvc.org"}]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14"
]
dynamic = ["version"]
dependencies = [
"dvc>=3.48.4",
"dvc-render>=1.0.0,<2",
"dvc-studio-client>=0.20,<1",
"funcy",
"gto",
"ruamel.yaml",
"scmrepo>=3,<4",
"psutil",
"pynvml"
]
[project.optional-dependencies]
image = ["numpy", "pillow"]
sklearn = ["scikit-learn>=1.5.0"]
plots = ["scikit-learn", "pandas", "numpy"]
markdown = ["matplotlib"]
tests = [
"pytest>=7.2.0,<9.0",
"pytest-sugar>=0.9.6,<2.0",
"pytest-cov>=3.0.0,<8.0",
"pytest-mock>=3.8.2,<4.0",
"dvclive[image,plots,markdown]",
"ipython",
"pytest_voluptuous",
"dpath",
"transformers[torch]",
"tf-keras"
]
mmcv = ["mmcv"]
tf = ["tensorflow"]
xgb = ["xgboost"]
lgbm = ["lightgbm"]
huggingface = ["transformers", "datasets"]
fastai = ["fastai"]
lightning = ["lightning>=2.0", "torch", "jsonargparse[signatures]>=4.26.1"]
optuna = ["optuna"]
all = [
"dvclive[image,mmcv,tf,xgb,lgbm,huggingface,fastai,lightning,optuna,plots,markdown]"
]
dev = [
"dvclive[image,tf,xgb,lgbm,huggingface,fastai,lightning,optuna,plots,markdown,tests]",
"mypy==1.18.2",
"types-PyYAML"
]
[project.urls]
Homepage = "https://github.com/iterative/dvclive"
Documentation = "https://dvc.org/doc/dvclive"
Repository = "https://github.com/iterative/dvclive"
Changelog = "https://github.com/iterative/dvclive/releases"
Issues = "https://github.com/iterative/dvclive/issues"
[tool.setuptools.packages.find]
exclude = ["tests", "tests.*"]
where = ["src"]
namespaces = false
[tool.setuptools_scm]
write_to = "src/dvclive/_dvclive_version.py"
[tool.pytest.ini_options]
addopts = "-ra"
markers = """
vscode: mark a test that verifies behavior that VS Code relies on
studio: mark a test that verifies behavior that Studio relies on
"""
[tool.coverage.run]
branch = true
source = ["dvclive", "tests"]
[tool.coverage.paths]
source = ["src", "*/site-packages"]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"if typing.TYPE_CHECKING:",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"raise AssertionError",
"@overload"
]
[tool.mypy]
# Error output
show_column_numbers = true
show_error_codes = true
show_error_context = true
show_traceback = true
pretty = true
check_untyped_defs = false
# Warnings
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
ignore_missing_imports = true
files = ["src", "tests"]
[tool.codespell]
ignore-words-list = "fpr"
[tool.ruff.lint]
ignore = ["PLC0415", "G004"]
select = [
"F",
"E",
"W",
"C90",
"I",
"N",
"UP",
"YTT",
"ASYNC",
"S",
"BLE",
"B",
"A",
"C4",
"DTZ",
"T10",
"EXE",
"ISC",
"ICN",
"LOG",
"G",
"INP",
"PIE",
"T20",
"PYI",
"PT",
"Q",
"RSE",
"RET",
"SLF",
"SLOT",
"SIM",
"TID",
"TC",
"TCH",
"INT",
"ARG",
"PGH",
"PLC",
"PLE",
"PLR",
"PLW",
"TRY",
"NPY",
"FLY",
"PERF",
"FURB",
"RUF"
]
[tool.ruff.lint.per-file-ignores]
"noxfile.py" = ["D", "PTH"]
"tests/*" = ["S101", "INP001", "SLF001", "ARG001", "ARG002", "ARG005", "PLR2004", "NPY002"]
"examples/*.ipynb" = ["PERF401"]
[tool.ruff.lint.pylint]
max-args = 10