From c2df68a835a14eb4827047f5605daa9bc86088d0 Mon Sep 17 00:00:00 2001 From: fynnbe Date: Wed, 20 Mar 2024 23:55:13 +0100 Subject: [PATCH] pyright fixes --- backoffice/mailroom/_send_email.py | 6 +----- backoffice/remote_resource.py | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/backoffice/mailroom/_send_email.py b/backoffice/mailroom/_send_email.py index 630bc78f..fb5a9757 100644 --- a/backoffice/mailroom/_send_email.py +++ b/backoffice/mailroom/_send_email.py @@ -12,11 +12,7 @@ SMTP_SERVER, STATUS_UPDATE_SUBJECT, ) -from backoffice.remote_resource import ( - PublishedVersion, - RemoteResourceVersion, - StagedVersion, -) +from backoffice.remote_resource import PublishedVersion, StagedVersion _ = load_dotenv() diff --git a/backoffice/remote_resource.py b/backoffice/remote_resource.py index d8b6dad8..e3313da8 100644 --- a/backoffice/remote_resource.py +++ b/backoffice/remote_resource.py @@ -9,7 +9,6 @@ from bioimageio.spec.utils import identify_bioimageio_yaml_file_name from loguru import logger -from pyparsing import srange from ruyaml import YAML from typing_extensions import assert_never