From 49c29d28ab0be21e4c37c07b79748d2ed4a44d5e Mon Sep 17 00:00:00 2001 From: fynnbe Date: Thu, 19 Dec 2024 13:14:07 +0100 Subject: [PATCH] update pyright and deepdiff --- scripts/generate_json_schemas.py | 4 ++-- setup.py | 2 +- tests/test_package.py | 2 +- tests/utils.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/generate_json_schemas.py b/scripts/generate_json_schemas.py index b49b34d94..73a6d0301 100644 --- a/scripts/generate_json_schemas.py +++ b/scripts/generate_json_schemas.py @@ -3,9 +3,9 @@ from argparse import ArgumentParser from pathlib import Path from tempfile import TemporaryDirectory -from typing import Any, Dict, Literal, Final +from typing import Any, Dict, Final, Literal -from deepdiff import DeepDiff # pyright: ignore [reportMissingTypeStubs] +from deepdiff.diff import DeepDiff from pydantic import ConfigDict, TypeAdapter from typing_extensions import assert_never diff --git a/setup.py b/setup.py index b4c087e93..16f184c79 100644 --- a/setup.py +++ b/setup.py @@ -69,7 +69,7 @@ "jupyter", "pdoc", "pre-commit", - "pyright==1.1.390", + "pyright==1.1.391", "ruff", ], }, diff --git a/tests/test_package.py b/tests/test_package.py index 595e91361..653d36103 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -2,7 +2,7 @@ import shutil from pathlib import Path -from deepdiff import DeepDiff +from deepdiff.diff import DeepDiff from bioimageio.spec.model import v0_5 diff --git a/tests/utils.py b/tests/utils.py index aa4dce068..fbccb9b4e 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -21,7 +21,7 @@ import jsonschema import pytest -from deepdiff import DeepDiff # pyright: ignore [reportMissingTypeStubs] +from deepdiff.diff import DeepDiff from pydantic import ( DirectoryPath, RootModel,