-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (72 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
85 lines (72 loc) · 1.91 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
83
84
85
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools", "pip", "build", "wheel"]
[project]
authors = [
{name = "Floris Laporte", email = "floris.laporte@gmail.com"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Mathematics"
]
dependencies = [
"jax>=0.5.0",
"jaxlib>=0.5.0",
"jaxtyping>=0.2.38",
"numpy>=2"
]
description = "a KLU solver for JAX"
license = {file = "LICENSE"}
name = "klujax"
readme = "README.md"
requires-python = ">=3.11"
version = "0.4.8"
[project.optional-dependencies]
dev = [
"build>=1.2.2",
"ipykernel>=6.29.5",
"pre-commit>=4.1.0",
"pytest>=8.3.4",
"ruff>=0.9.7",
"setuptools>=75.8.0",
"tbump>=6.11.0"
]
[[tool.bver.file]]
src = "README.md"
[[tool.bver.file]]
src = "pyproject.toml"
[[tool.bver.file]]
src = "klujax.py"
[[tool.bver.file]]
src = "klujax.cpp"
[tool.bver.git]
action = "commit-tag-and-push"
[tool.pytest.ini_options]
addopts = '--tb=short'
testpaths = ["tests.py"]
[tool.ruff]
fix = true
target-version = "py311"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint] # see https://docs.astral.sh/ruff/rules
ignore = ["N803", "D213", "N806", "TD002", "D211", "TD003", "PLR0913", "FIX", "ERA", "PLR2004", "COM812", "D203"]
select = ["ALL"]
[tool.ruff.lint.per-file-ignores]
".github/run_tests.py" = ["INP", "PTH", "T201", "S603", "S607"]
"benchmark.py" = ["INP001", "T201"]
"setup.py" = ["PTH", "ANN", "D101", "D102"]
"tests.py" = ["D", "INP001", "ANN", "T201", "E501", "N806"]
[tool.setuptools.package-data]
"*" = [
"LICENSE",
"README.md",
"MANIFEST.in"
]