-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (96 loc) · 2.49 KB
/
pyproject.toml
File metadata and controls
109 lines (96 loc) · 2.49 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools", "pip", "build", "wheel"]
[dependency-groups]
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",
"ty==0.0.31"
]
docs = [
"mkdocs",
"mkdocs-shadcn @ git+https://github.com/flaport/mkdocs-shadcn.git",
"pymdown-extensions>=10.0"
]
[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",
"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 = "LGPL-2.0-only"
license-files = ["LICENSE"]
name = "klujax"
readme = "README.md"
requires-python = ">=3.11"
version = "0.5.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", # invalid-argument-name
"D213", # multi-line-summary-second-line
"N806", # non-lowercase-variable-in-function
"TD002", # missing-todo-author
"D211", # blank-line-before-class
"TD003", # missing-todo-link
"PLR0913", # too-many-arguments
"FIX", # flake8-fixme
"ERA", # eradicate
"PLR2004", # magic-value-comparison
"COM812", # missing-trailing-comma
"D203", # one-blank-line-before-class
"ANN001", # missing-type-annotation
"ANN202", # missing-return-type-annotation
"ARG001", # unused-function-argument
"ARG005", # unused-lambda-argument
"S101" # assert-used
]
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", "SLF001"]
[tool.setuptools.package-data]
"*" = [
"LICENSE",
"README.md",
"MANIFEST.in"
]