forked from Priesemann-Group/icomo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
109 lines (93 loc) · 2.29 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
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "icomo"
authors = [
{ name = "Jonas Dehning", email = "[email protected]" },
]
description = "This toolbox aims to simplify the construction of compartmental models and the inference of their parameters"
readme = "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["version"]
requires-python = '>=3.8.1'
dependencies = [
"numpy",
"matplotlib",
"pymc >= 5.0.0",
"pytensor",
"arviz",
"numpyro",
"ipywidgets",
"graphviz",
"diffrax",
"optax",
"jaxopt",
]
[project.optional-dependencies]
dev = [
"pytest >= 7.3.2",
"black >= 23.3.0",
"isort >= 5.12.0",
"pre-commit >= 3.3.2",
"ruff >= 0.0.272",
"mypy >= 1.3.0",
"pydocstyle >= 6.3.0",
"ipython < 8",
"ipykernel >= 6.0.0","Sphinx >= 6.2.1",
"sphinx-book-theme",
"importlib-metadata >= 6.5.1",
"myst-parser >= 0.19.2",
"nbsphinx >= 0.9.2",
"pandoc >= 2.3",
]
[project.urls]
Homepage = "https://github.com/Priesemann-Group/icomo"
"Bug Tracker" = "https://github.com/Priesemann-Group/icomo/issues"
Discussions = "https://github.com/Priesemann-Group/icomo/discussions"
Changelog = "https://github.com/Priesemann-Group/icomo/releases"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.black]
line-length = 88
target-version = ["py38"]
force-exclude = '''(?x)(
docs/*
| .*\\.egg-info
)''' # TOML's single-quoted strings do not require escaping backslashes
[tool.isort]
ensure_newline_before_comments = true
line_length = 88
multi_line_output = 3
include_trailing_comma = true
skip_glob = ["docs/*", "*.egg-info"]
[tool.ruff]
line-length = 88
force-exclude = true
src = ["icomo"]
exclude = [
'docs',
]
select = [
"F", # pyflakes
]
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.mypy]
no_strict_optional = false
[tool.setuptools]
packages = ["icomo"]
[tool.setuptools_scm]
write_to = "icomo/_version.py"