Skip to content

Commit 3953b1d

Browse files
committed
ENH: add atleast_nd
1 parent da635ca commit 3953b1d

File tree

6 files changed

+116
-3
lines changed

6 files changed

+116
-3
lines changed

pixi.lock

+66-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,20 @@ classifiers = [
2828
"Typing :: Typed",
2929
]
3030
dynamic = ["version"]
31-
dependencies = []
31+
dependencies = [
32+
"array-api-compat",
33+
]
3234

3335
[project.optional-dependencies]
3436
test = [
3537
"pytest >=6",
3638
"pytest-cov >=3",
39+
"array-api-strict",
3740
]
3841
dev = [
3942
"pytest >=6",
4043
"pytest-cov >=3",
44+
"array-api-strict",
4145
"ruff",
4246
"pylint",
4347
]

src/array_api_extra/__init__.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from __future__ import annotations
22

3+
from ._funcs import atleast_nd
4+
35
__version__ = "0.1.dev0"
46

5-
__all__ = ["__version__"]
7+
__all__ = ["__version__", "atleast_nd"]

0 commit comments

Comments
 (0)