-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
129 lines (103 loc) · 2.38 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
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
[tool.poetry]
name = "zntrack"
version = "0.8.1"
description = "Create, Run and Benchmark DVC Pipelines in Python"
authors = ["zincwarecode <zincwarecode@gmail.com>"]
license = "Apache-2.0"
keywords=["data-science", "data-version-control", "machine-learning", "reproducibility", "collaboration"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10,<4"
dvc = "^3.50"
pyyaml = "^6"
tqdm = "^4"
znjson = "^0.2"
znflow = "^0.2.3"
typer = "^0.13"
znfields = "^0.1.2"
pandas = "^2"
[tool.poetry.urls]
documentation = "https://zntrack.readthedocs.io"
repository = "https://github.com/zincware/ZnTrack"
[tool.poetry.scripts]
zntrack = "zntrack.cli:app"
[tool.poetry.group.dev.dependencies]
pytest-benchmark = "^3"
pytest = "^7"
numpy = "^1"
matplotlib = "^3"
ase = "^3"
pre-commit = "^2"
coverage = "^6"
pytest-xdist = "^2"
optuna = "^3"
scikit-learn = "^1"
nbmake = "^1"
mlflow = "^2.16"
dvc-s3 = "^3.2.0"
h5py = "^3"
[tool.poetry.group.notebook.dependencies]
jupyterlab = "^3"
[tool.poetry.group.docs.dependencies]
furo = "^2022"
sphinx-copybutton = "^0.5"
sphinx = "^6"
nbsphinx = "^0.8"
nbsphinx-link = "^1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 90
preview = true
[tool.isort]
profile = 'black'
multi_line_output = 3
[tool.coverage.run]
relative_files = true
branch = true
# omit the tests themselves
omit = ["*/tests/*", "*/tmp/*", "*/interface/*", "zntrack/examples/*"]
[tool.coverage.report]
exclude_lines = [
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:"
]
ignore_errors = true
[tool.coverage.html]
directory = "coverage_html_report"
[tool.pylint.messages_control]
max-line-length = 90
disable = [
"logging-fstring-interpolation",
"too-many-arguments",
"too-many-instance-attributes",
"dotted-import-in-loop",
# seems to fail for some cases
"no-else-return",
# allow for open TODOs
"fixme",
]
[tool.ruff]
line-length = 90
[tool.ruff.lint]
select = ["E", "F", "D", "N", "C", "I"] #, "ANN"]
extend-ignore = [
"D213", "D203",
"D401",
"N802", "N801",
"C901", # for now
]
exclude = [
"tmp",
"tests",
"docs",
]
[tool.codespell]
skip = "poetry.lock,examples/*"
[tool.pytest.ini_options]
markers = [
"needs_internet: marks tests which need internet access (deselect with '-m \"not needs_internet\"')",
]