From 39d6407ee501f5e980d7a7988ece02871f56eb1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dipl=2E=20Ing=2E=20P=C3=A9ter=20Varkoly?= Date: Sat, 31 May 2025 13:38:34 +0200 Subject: [PATCH] Fix imports --- radicale/app/proppatch.py | 1 - radicale/auth/htpasswd.py | 1 - radicale/hook/rabbitmq/__init__.py | 1 - radicale/tests/__init__.py | 2 +- radicale/tests/test_auth.py | 1 - radicale/tests/test_base.py | 2 +- radicale/tests/test_config.py | 1 - radicale/tests/test_server.py | 1 - radicale/tests/test_storage.py | 1 - 9 files changed, 2 insertions(+), 9 deletions(-) diff --git a/radicale/app/proppatch.py b/radicale/app/proppatch.py index 76b4a1a1..c894850c 100644 --- a/radicale/app/proppatch.py +++ b/radicale/app/proppatch.py @@ -27,7 +27,6 @@ from http import client from typing import Dict, Optional, cast import defusedxml.ElementTree as DefusedET - import radicale.item as radicale_item from radicale import httputils, storage, types, xmlutils from radicale.app.base import Access, ApplicationBase diff --git a/radicale/auth/htpasswd.py b/radicale/auth/htpasswd.py index dd66dfbd..0615dcbb 100644 --- a/radicale/auth/htpasswd.py +++ b/radicale/auth/htpasswd.py @@ -60,7 +60,6 @@ import time from typing import Any, Tuple from passlib.hash import apr_md5_crypt, sha256_crypt, sha512_crypt - from radicale import auth, config, logger diff --git a/radicale/hook/rabbitmq/__init__.py b/radicale/hook/rabbitmq/__init__.py index 2323ed43..5b1ec659 100644 --- a/radicale/hook/rabbitmq/__init__.py +++ b/radicale/hook/rabbitmq/__init__.py @@ -1,6 +1,5 @@ import pika from pika.exceptions import ChannelWrongStateError, StreamLostError - from radicale import hook from radicale.hook import HookNotificationItem from radicale.log import logger diff --git a/radicale/tests/__init__.py b/radicale/tests/__init__.py index e5ecb1f9..23df6d54 100644 --- a/radicale/tests/__init__.py +++ b/radicale/tests/__init__.py @@ -31,9 +31,9 @@ from io import BytesIO from typing import Any, Dict, List, Optional, Tuple, Union from urllib.parse import quote -import defusedxml.ElementTree as DefusedET import vobject +import defusedxml.ElementTree as DefusedET import radicale from radicale import app, config, types, xmlutils diff --git a/radicale/tests/test_auth.py b/radicale/tests/test_auth.py index 88cd3ea4..9036c500 100644 --- a/radicale/tests/test_auth.py +++ b/radicale/tests/test_auth.py @@ -29,7 +29,6 @@ import sys from typing import Iterable, Tuple, Union import pytest - from radicale import xmlutils from radicale.tests import BaseTest diff --git a/radicale/tests/test_base.py b/radicale/tests/test_base.py index d2b26949..8cd3279a 100644 --- a/radicale/tests/test_base.py +++ b/radicale/tests/test_base.py @@ -26,9 +26,9 @@ import os import posixpath from typing import Any, Callable, ClassVar, Iterable, List, Optional, Tuple -import defusedxml.ElementTree as DefusedET import vobject +import defusedxml.ElementTree as DefusedET from radicale import storage, xmlutils from radicale.tests import RESPONSES, BaseTest from radicale.tests.helpers import get_file_content diff --git a/radicale/tests/test_config.py b/radicale/tests/test_config.py index 92ece9a6..7b46a601 100644 --- a/radicale/tests/test_config.py +++ b/radicale/tests/test_config.py @@ -21,7 +21,6 @@ from configparser import RawConfigParser from typing import List, Tuple import pytest - from radicale import config, types from radicale.tests.helpers import configuration_to_dict diff --git a/radicale/tests/test_server.py b/radicale/tests/test_server.py index b344dddf..d1887b63 100644 --- a/radicale/tests/test_server.py +++ b/radicale/tests/test_server.py @@ -34,7 +34,6 @@ from urllib import request from urllib.error import HTTPError, URLError import pytest - from radicale import config, server from radicale.tests import BaseTest from radicale.tests.helpers import configuration_to_dict, get_file_path diff --git a/radicale/tests/test_storage.py b/radicale/tests/test_storage.py index 2fcfe717..0e3ab8c6 100644 --- a/radicale/tests/test_storage.py +++ b/radicale/tests/test_storage.py @@ -26,7 +26,6 @@ import shutil from typing import ClassVar, cast import pytest - import radicale.tests.custom.storage_simple_sync from radicale.tests import BaseTest from radicale.tests.helpers import get_file_content