diff --git a/backend/src/nodes/impl/onnx/utils.py b/backend/src/nodes/impl/onnx/utils.py index 64dd0d75b..ff3074f8e 100644 --- a/backend/src/nodes/impl/onnx/utils.py +++ b/backend/src/nodes/impl/onnx/utils.py @@ -16,7 +16,7 @@ def as_int(value: object) -> int | None: def parse_onnx_shape( - shape: tuple[int | str, str | int, str | int, str | int] + shape: tuple[int | str, str | int, str | int, str | int], ) -> tuple[OnnxInputShape, int, int | None, int | None]: if isinstance(shape[1], int) and shape[1] <= 4: return "BCHW", shape[1], as_int(shape[3]), as_int(shape[2]) diff --git a/requirements.txt b/requirements.txt index 9fd943dfb..5e232f685 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -ruff==0.1.4 +ruff==0.1.11 debugpy pyright==1.1.338 pytest