Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 33 additions & 33 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ actionlint = ">=1.7.12,<2"
blacken-docs = ">=1.20.0,<2"
pytest = ">=9.0.3,<10"
validate-pyproject = ">=0.25,<0.26"
pyrefly = ">=0.63.1,<0.64"
pyrefly = ">=1.0.0,<1.1"
zizmor = ">=1.24.1,<1.25"
# NOTE: don't add cupy, jax, pytorch, or sparse here,
# as they slow down mypy and are not portable across target OSs
Expand Down
2 changes: 1 addition & 1 deletion tests/test_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test_dtype_propagation(self, xp: ModuleType, library: Backend):
cond,
(x, y),
self.f1,
lambda x, y: mxp.astype(x - y, xp.int64), # pyright: ignore[reportArgumentType]
lambda x, y: mxp.astype(x - y, xp.int64), # pyright: ignore[reportArgumentType] # pyrefly: ignore[bad-argument-type]
)
assert actual.dtype == xp.int64

Expand Down
2 changes: 1 addition & 1 deletion tests/test_lazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,6 @@ def f(x: Array) -> Array:
with pytest.raises(ValueError, match="multiple shapes but only one dtype"):
_ = lazy_apply(f, x, shape=[(1,), (2,)], dtype=np.int32) # type: ignore[call-overload] # pyright: ignore[reportCallIssue,reportArgumentType]
with pytest.raises(ValueError, match="single shape but multiple dtypes"):
_ = lazy_apply(f, x, shape=(1,), dtype=[np.int32, np.int64]) # pyright: ignore[reportCallIssue,reportArgumentType]
_ = lazy_apply(f, x, shape=(1,), dtype=[np.int32, np.int64]) # pyright: ignore[reportCallIssue,reportArgumentType] # pyrefly: ignore[no-matching-overload]
with pytest.raises(ValueError, match="2 shapes and 1 dtypes"):
_ = lazy_apply(f, x, shape=[(1,), (2,)], dtype=[np.int32]) # type: ignore[arg-type] # pyright: ignore[reportCallIssue,reportArgumentType]