-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
96 lines (76 loc) · 1.71 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/riemax/__init__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/docs",
]
[tool.hatch.build.targets.wheel]
packages = ["src/riemax"]
[tool.hatch.metadata]
allow-direct-references = true
[project]
name = "riemax"
description = "Riemannian geometry in JAX."
requires-python = ">=3.12"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Daniel Kelshaw", email = "daniel.j.kelshaw@gmail.com" },
]
keywords = ["jax", "geometry", "deep-learning"]
dynamic = ["version"]
dependencies = [
"absl-py",
"chex",
"dm-haiku",
"einops",
"jax",
"jaxlib",
"matplotlib",
"numpy",
"scipy",
"optax",
"ml_collections @ git+https://github.com/danielkelshaw/ml_collections",
"opt_einsum @git+https://github.com/dgasmith/opt_einsum",
]
[project.optional-dependencies]
jupyter = [
"ipykernel",
"jupyterlab",
]
dev = [
"mkdocs",
"mkdocs-material",
"mkdocstrings-python",
"mknotebooks",
"pre-commit",
"pyright == 1.1.332",
"ruff",
]
[project.urls]
homepage = "https://riemax.danielkelshaw.com"
repository = "https://github.com/danielkelshaw/riemax"
[tool.ruff]
indent-width = 4
line-length = 120
target-version = "py312"
[tool.ruff.lint]
ignore = ["E501", "B023"]
select = ["E", "F", "B", "I"]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
docstring-code-format = true
[tool.pyright]
include = ["src"]
ignore = ["src/riemax/ml/eikonal/model.py"]
pythonVersion = "3.12"
venvPath = "."
venv = ".venv"
useLibraryCodeForTypes = true
reportMissingImports = true