-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
121 lines (104 loc) · 2.5 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
[project]
name = "zntrack"
version = "0.8.3"
description = "Create, Run and Benchmark DVC Pipelines in Python"
authors = [
{ name = "Fabian Zills", email = "[email protected]" },
]
license = "Apache-2.0"
keywords=["data-science", "data-version-control", "machine-learning", "reproducibility", "collaboration"]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"dvc>=3.59.0",
"pandas>=2.2.3",
"pyyaml>=6.0.2",
"tqdm>=4.67.1",
"typer>=0.15.1",
"znfields>=0.1.2",
"znflow>=0.2.4",
"znjson>=0.2.6",
]
[project.scripts]
zntrack = 'zntrack.cli:app'
[project.urls]
Repository = "https://github.com/zincware/zntrack"
Releases = "https://github.com/zincware/zntrack/releases"
Documentation = "https://zntrack.readthedocs.io"
Discord = "https://discord.gg/7ncfwhsnm4"
[dependency-groups]
dev = [
"dvc-s3>=3.2.0",
"h5py>=3.12.1",
"mlflow>=2.20.0",
"pre-commit>=4.1.0",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"ruff>=0.9.6",
]
docs = [
"furo>=2024.8.6",
"sphinx>=8.1.3",
"sphinx-copybutton>=0.5.2",
"sphinx-design>=0.6.1",
"sphinx-hoverxref>=1.4.2",
"sphinxcontrib-mermaid>=1.0.0",
]
examples = [
"ase>=3.24.0",
"mace-torch>=0.3.10",
"paraffin>=0.3.6",
"rdkit2ase>=0.1.4",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.coverage.run]
# 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", "N", "C", "I"] #, "ANN"]
extend-ignore = [
"D213", "D203",
"D401",
"N802", "N801",
"C901", # for now
]
exclude = [
"tmp",
"tests",
"docs",
]
[tool.codespell]
ignore-words-list = "basf"
skip = "poetry.lock,examples/*"
[tool.pytest.ini_options]
markers = [
"needs_internet: marks tests which need internet access (deselect with '-m \"not needs_internet\"')",
]
[project.entry-points.'zntrack.nodes']
zntrack-examples = 'zntrack.examples:nodes'