-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
69 lines (61 loc) · 1.65 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
[project]
name = "dynax"
version = "0.0.3"
description = "Dynamical systems with JAX!"
readme = "README.rst"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "Franz M. Heuchel", email = "[email protected]" }]
keywords = [
"jax",
"dynamical-systems",
"system-identification",
"linearization",
]
urls = { repository = "https://github.com/fhchl/dynax" }
dependencies = ["jax<=0.4.33", "diffrax<=0.6"]
[project.optional-dependencies]
dev = ["pytest", "jupyter", "matplotlib", "pre-commit", "ruff<0.6"]
docs = [
"nbsphinx",
"sphinx-autobuild",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"sphinx",
"sphinxcontrib-bibtex",
"sphinxcontrib-aafig",
"furo",
]
[tool.pytest.ini_options]
addopts = [
"--pdbcls=IPython.terminal.debugger:Pdb",
# "--jaxtyping-packages=dynax,beartype.beartype(conf=beartype.BeartypeConf(strategy=beartype.BeartypeStrategy.On))"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 88
src = ["dynax", "tests", "examples"]
force-exclude = true
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = ["E", "F", "I001", "B"]
ignore = [
"E402", # Module level import not at top of file
"E721", # Do not compare types, use 'isinstance()'
"E731", # Do not assign a lambda expression, use a def (E731)
"E741", # Do not use variables named 'I', 'O', or 'l'
]
fixable = ["I001", "F401"]
[tool.ruff.lint.isort]
combine-as-imports = true
lines-after-imports = 2
order-by-type = false
known-first-party = ["dynax"]
[tool.uv]
dev-dependencies = [
"dynax[dev, docs]",
]
[tool.uv.sources]
dynax = { workspace = true }