forked from patrick-kidger/optimistix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.57 KB
/
pyproject.toml
File metadata and controls
95 lines (86 loc) · 2.57 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [
{email = "raderjason@outlook.com", name = "Jason Rader"},
{email = "contact@kidger.site", name = "Patrick Kidger"}
]
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"
]
dependencies = ["jax>=0.4.38,!=0.7.0,!=0.7.1", "jaxtyping>=0.2.24", "lineax>=0.0.6", "equinox>=0.11.11", "typing_extensions>=4.5.0"]
description = "Nonlinear optimisation in JAX and Equinox."
keywords = [
"jax",
"optimization",
"neural-networks",
"deep-learning",
"equinox",
"nonlinear-programming",
"numerical-optimization",
"levenberg-marquardt"
]
license = {file = "LICENSE"}
name = "optimistix"
readme = "README.md"
requires-python = "~=3.10"
urls = {repository = "https://github.com/patrick-kidger/optimistix"}
version = "0.0.11"
[project.optional-dependencies]
dev = [
"pre-commit"
]
docs = [
"hippogriffe==0.2.2",
"griffe==1.7.3",
"mkdocs==1.6.1",
"mkdocs-include-exclude-files==0.1.0",
"mkdocs-ipynb==0.1.1",
"mkdocs-material==9.6.7",
"mkdocstrings==0.28.3",
"mkdocstrings-python==1.16.8",
"pymdown-extensions==10.14.3"
]
tests = [
"beartype>=0.20.2",
"diffrax>=0.7.0",
"optax>=0.2.4",
"pytest>=8.3.5",
"jaxlib"
]
[tool.hatch.build]
include = ["optimistix/*"]
[tool.pyright]
include = ["optimistix", "tests"]
reportIncompatibleMethodOverride = true
reportIncompatibleVariableOverride = false # Incompatible with eqx.AbstractVar
reportInvalidTypeForm = false # Incompatible with FunctionInfo.Foo
[tool.pytest.ini_options]
addopts = "-Werror --jaxtyping-packages=optimistix,beartype.beartype(conf=beartype.BeartypeConf(strategy=beartype.BeartypeStrategy.On))"
[tool.ruff]
extend-include = ["*.ipynb"]
src = []
[tool.ruff.lint]
fixable = ["I001", "F401", "UP"]
ignore = ["E402", "E721", "E731", "E741", "F722"]
select = ["E", "F", "I001", "UP"]
[tool.ruff.lint.flake8-import-conventions.extend-aliases]
"collections" = "co"
"functools" = "ft"
"itertools" = "it"
[tool.ruff.lint.isort]
combine-as-imports = true
extra-standard-library = ["typing_extensions"]
lines-after-imports = 2
order-by-type = false