Skip to content

Commit 39d3436

Browse files
committed
remove unused ARBITRARY_SIZE and update pyright settings
1 parent abd2890 commit 39d3436

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

bioimageio/spec/model/v0_5.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,6 @@ def get_n(self, s: int) -> ParameterizedSize_N:
266266
return ceil((s - self.min) / self.step)
267267

268268

269-
ARBITRARY_SIZE = ParameterizedSize(min=1, step=1)
270-
271-
272269
class DataDependentSize(Node):
273270
min: Annotated[int, Gt(0)] = 1
274271
max: Annotated[Optional[int], Gt(1)] = None

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tool.black]
22
line-length = 88
3-
target-version = ["py38", "py39", "py310", "py311"]
3+
target-version = ["py38", "py39", "py310", "py311", "py312"]
44
preview = true
55

66
[tool.pyright]
77
exclude = ["**/node_modules", "**/__pycache__", "tests/old_*", "tests/cache"]
88
include = ["bioimageio", "scripts", "tests"]
99
pythonPlatform = "All"
10-
pythonVersion = "3.8"
10+
pythonVersion = "3.13"
1111
reportDuplicateImport = "error"
1212
reportImplicitStringConcatenation = "error"
1313
reportImportCycles = true
@@ -42,4 +42,4 @@ testpaths = ["bioimageio/spec", "tests", "scripts"]
4242
[tool.ruff]
4343
line-length = 88
4444
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
45-
target-version = "py38"
45+
target-version = "py312"

0 commit comments

Comments
 (0)