diff --git a/src/otaclient/app/boot_control/_common.py b/src/otaclient/app/boot_control/_common.py index c5d394941..fb2b6002a 100644 --- a/src/otaclient/app/boot_control/_common.py +++ b/src/otaclient/app/boot_control/_common.py @@ -22,13 +22,10 @@ from pathlib import Path from typing import Callable, Literal, Optional, Union -from otaclient.app.configs import config as cfg from otaclient import cmdhelper +from otaclient.app.configs import config as cfg from otaclient_api.v2 import types as api_types -from otaclient_common.common import ( - read_str_from_file, - write_str_to_file_sync, -) +from otaclient_common.common import read_str_from_file, write_str_to_file_sync logger = logging.getLogger(__name__) diff --git a/src/otaclient/app/boot_control/_grub.py b/src/otaclient/app/boot_control/_grub.py index 011f66aae..86145f155 100644 --- a/src/otaclient/app/boot_control/_grub.py +++ b/src/otaclient/app/boot_control/_grub.py @@ -42,8 +42,8 @@ from subprocess import CalledProcessError from typing import ClassVar, Dict, Generator, List, Optional, Tuple -from otaclient.app import errors as ota_errors from otaclient import cmdhelper +from otaclient.app import errors as ota_errors from otaclient.app.boot_control._common import ( OTAStatusFilesControl, SlotMountHelper, diff --git a/src/otaclient/app/boot_control/_jetson_cboot.py b/src/otaclient/app/boot_control/_jetson_cboot.py index 8e0e38a15..1f2e15cb8 100644 --- a/src/otaclient/app/boot_control/_jetson_cboot.py +++ b/src/otaclient/app/boot_control/_jetson_cboot.py @@ -25,12 +25,9 @@ from pathlib import Path from typing import Generator, Optional -from otaclient.app import errors as ota_errors from otaclient import cmdhelper -from otaclient.app.boot_control._common import ( - OTAStatusFilesControl, - SlotMountHelper, -) +from otaclient.app import errors as ota_errors +from otaclient.app.boot_control._common import OTAStatusFilesControl, SlotMountHelper from otaclient.app.boot_control._jetson_common import ( FirmwareBSPVersionControl, NVBootctrlCommon,