Skip to content

Commit 7289f77

Browse files
committed
bump pyright
1 parent c2d3f9b commit 7289f77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bioimageio/spec/model/v0_5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ def _validate_sample_tensor(self) -> Self:
15381538
return self
15391539

15401540
reader = get_reader(self.sample_tensor.source, sha256=self.sample_tensor.sha256)
1541-
tensor: NDArray[Any] = imread(
1541+
tensor: NDArray[Any] = imread( # pyright: ignore[reportUnknownVariableType]
15421542
reader.read(),
15431543
extension=PurePosixPath(reader.original_file_name).suffix,
15441544
)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"jupyter",
7171
"pdoc",
7272
"pre-commit",
73-
"pyright==1.1.402",
73+
"pyright==1.1.403",
7474
"ruff",
7575
]
7676
),

0 commit comments

Comments
 (0)