Skip to content

Commit aab50f7

Browse files
committed
pyproject, jax optional dependencies
1 parent 1e41d24 commit aab50f7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ dependencies = [ "numpy>=2" ]
2727
optional-dependencies.accel = [ "numba>=0.57" ]
2828
optional-dependencies.dask = [ "dask>=2023.6.1" ]
2929
optional-dependencies.full = [ "fast-array-utils[accel,dask,sparse]", "h5py", "zarr" ]
30+
optional-dependencies.jax = [ "jax", "jaxlib" ]
3031
optional-dependencies.sparse = [ "scipy>=1.13" ]
3132
optional-dependencies.testing = [ "packaging" ]
3233
urls."Issue Tracker" = "https://github.com/scverse/fast-array-utils/issues"
@@ -64,7 +65,7 @@ envs.docs.dependency-groups = [ "doc" ]
6465
envs.docs.scripts.build = "sphinx-build -M html docs docs/_build"
6566
envs.docs.scripts.clean = "git clean -fdX docs"
6667
envs.docs.scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
67-
envs.hatch-test.default-args = []
68+
envs.hatch-test.default-args = [ ]
6869
envs.hatch-test.dependency-groups = [ "test-min" ]
6970
# TODO: remove scipy once https://github.com/pypa/hatch/pull/2127 is released
7071
envs.hatch-test.extra-dependencies = [ "ipykernel", "ipycytoscape", "scipy" ]
@@ -90,7 +91,7 @@ metadata.hooks.docstring-description = {}
9091
metadata.hooks.fancy-pypi-readme.content-type = "text/x-rst"
9192
metadata.hooks.fancy-pypi-readme.fragments = [ { path = "README.rst", start-after = ".. begin" } ]
9293
version.source = "vcs"
93-
version.raw-options = { local_scheme = "no-local-version" } # be able to publish dev version
94+
version.raw-options = { local_scheme = "no-local-version" } # be able to publish dev version
9495

9596
[tool.uv]
9697
override-dependencies = [ "sphinx>=9.0.1" ]
@@ -131,7 +132,7 @@ lint.per-file-ignores."typings/**/*.pyi" = [ "A002", "F403", "F405", "N801" ]
131132
lint.allowed-confusables = [ "×", "" ]
132133
lint.flake8-bugbear.extend-immutable-calls = [ "testing.fast_array_utils.Flags" ]
133134
lint.flake8-copyright.notice-rgx = "SPDX-License-Identifier: MPL-2\\.0"
134-
lint.flake8-type-checking.exempt-modules = []
135+
lint.flake8-type-checking.exempt-modules = [ ]
135136
lint.flake8-type-checking.strict = true
136137
lint.isort.known-first-party = [ "fast_array_utils" ]
137138
lint.isort.lines-after-imports = 2

0 commit comments

Comments
 (0)