Skip to content

Commit

Permalink
apply pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Jun 19, 2024
1 parent d57dcb3 commit 546aa04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
7 changes: 2 additions & 5 deletions src/otaclient/app/boot_control/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down
2 changes: 1 addition & 1 deletion src/otaclient/app/boot_control/_grub.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
7 changes: 2 additions & 5 deletions src/otaclient/app/boot_control/_jetson_cboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 546aa04

Please sign in to comment.