-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
67 lines (58 loc) · 1.83 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
[project]
name = "quax"
version = "0.0.5"
description = "Multiple dispatch in JAX via custom interpreters."
readme = "README.md"
requires-python =">=3.10"
license = {file = "LICENSE"}
authors = [
{name = "Patrick Kidger", email = "contact@kidger.site"},
]
keywords = ["jax", "multiple-dispatch", "equinox"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
]
urls = {repository = "https://github.com/patrick-kidger/quax" }
dependencies = [
"jax>=0.4.38",
"jaxtyping>=0.2.20",
"equinox>=0.11.0",
"plum-dispatch>=2.2.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = ["quax/*"]
[tool.pytest.ini_options]
addopts = "--jaxtyping-packages=quax,beartype.beartype(conf=beartype.BeartypeConf(strategy=beartype.BeartypeStrategy.On))"
[tool.pytest_env]
JAX_CHECK_TRACER_LEAKS = 1
[tool.ruff.lint]
select = ["E", "F", "I001", "UP"]
ignore = ["E402", "E721", "E731", "E741", "F722"]
fixable = ["I001", "F401", "UP"]
[tool.ruff.lint.flake8-import-conventions.extend-aliases]
"jax.extend" = "jex"
[tool.ruff.lint.isort]
combine-as-imports = true
lines-after-imports = 2
extra-standard-library = ["typing_extensions"]
order-by-type = false
[tool.pyright]
reportIncompatibleMethodOverride = true
include = ["quax", "tests"]
[dependency-groups]
dev = [
"pre-commit>=4.1.0",
]