From 652c945f0f60a0143c95faa578c025b9ea1d4cf8 Mon Sep 17 00:00:00 2001 From: Joey Ballentine Date: Thu, 4 Jan 2024 12:44:24 -0500 Subject: [PATCH] Update Ruff to 0.1.11 Because why not --- backend/src/nodes/impl/onnx/utils.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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