-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (49 loc) · 1.28 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
[project]
name = "jaximal"
version = "0.1.1"
description = "A JAX-based PyTree manipulation library "
authors = [
{ name = "Arvin Kushwaha", email = "[email protected]" },
]
dependencies = [
"safetensors>=0.4.3",
"jaxtyping>=0.2.29",
"jax>=0.4.28",
"jaxlib>=0.4.28",
]
readme = "README.md"
requires-python = ">= 3.12"
license = { text = "MIT" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = ["pytest>=8.2.1", "basedpyright>=1.12.4", "optax>=0.2.2"]
excluded-dependencies = []
[tool.rye.scripts]
ci = { chain = [
# "ci:verifytypes",
"ci:basedpyright",
] }
# "ci:verifytypes" = "rye run basedpyright --verifytypes jaximal"
"ci:basedpyright" = "rye run basedpyright -p . ."
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/jaximal"]
[tool.ruff]
target-version = "py312"
[tool.ruff.lint.isort]
lines-between-types = 1
relative-imports-order = "closest-to-furthest"
[tool.ruff.format]
quote-style = "single"
docstring-code-format = true
[tool.basedpyright]
typeCheckingMode = "strict"
reportMissingTypeStubs = false
reportUnknownParameterType = false
reportUnknownArgumentType = false
reportUnknownMemberType = false
reportUnknownVariableType = false