From d6e776128f2871007898ef8a0120d1bfba6e8411 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 07:37:44 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/otaclient_common/__init__.py | 1 - src/otaclient_common/downloader.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/otaclient_common/__init__.py b/src/otaclient_common/__init__.py index 84c100470..ac7f63876 100644 --- a/src/otaclient_common/__init__.py +++ b/src/otaclient_common/__init__.py @@ -23,7 +23,6 @@ from typing_extensions import Literal - _MultiUnits = Literal["GiB", "MiB", "KiB", "Bytes", "KB", "MB", "GB"] # fmt: off _multiplier: dict[_MultiUnits, int] = { diff --git a/src/otaclient_common/downloader.py b/src/otaclient_common/downloader.py index 7c44e2ff2..38326919c 100644 --- a/src/otaclient_common/downloader.py +++ b/src/otaclient_common/downloader.py @@ -57,7 +57,6 @@ from otaclient_common.common import wait_with_backoff from otaclient_common.typing import copy_callable_typehint - logger = logging.getLogger(__name__) EMPTY_FILE_SHA256 = r"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"