-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (74 loc) · 1.75 KB
/
pyproject.toml
File metadata and controls
82 lines (74 loc) · 1.75 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "codes"
version = "0.1.0"
description = "Benchmarking tool for coupled ODE surrogate models"
authors = [
{ name = "Robin Janssen", email = "sy192@uni-heidelberg.de" },
{ name = "Immanuel Sulzer"}
]
license = "GPL-3.0"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dependencies = [
"h5py>=3.14.0",
"matplotlib>=3.10.3",
"numpy>=2.2.5",
"optuna>=4.4.0",
"optuna-dashboard>=0.19.0",
"psycopg2-binary>=2.9.10",
"pyyaml>=6.0.2",
"schedulefree>=1.4.1",
"scipy>=1.15.3",
"sqlalchemy>=2.0.41",
"tabulate>=0.9.0",
"torch>=2.7.1",
"torchode>=1.0.0",
"tqdm>=4.67.1",
]
[dependency-groups]
dev = [
"black>=25.1.0",
"isort>=6.0.1",
"pre-commit>=4.2.0",
"pytest>=8.4.1",
"pytest-cov>=6.2.1",
"myst-nb>=1.1.0",
"linkify-it-py>=2.0.2",
"sphinx>=8.1.3",
"sphinx-autodoc-typehints>=3.0.1",
"sphinx-book-theme>=1.1.4",
"sphinxcontrib-napoleon>=0.7",
]
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.setuptools]
packages = ["codes"]
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
[tool.coverage.run]
source = ["codes"]
omit = ["*/tests/*", "*/test_*", "*/bench_plots.py", "*/__init__.py", "*/evaluate_study.py", "*/evaluate_tuning.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
]