Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 10, 2024
1 parent 1776d0f commit 4c7fa47
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions otaclient/app/boot_control/_jetson_cboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import subprocess
from functools import partial
from pathlib import Path
from subprocess import CompletedProcess, run, CalledProcessError
from subprocess import CalledProcessError, CompletedProcess, run
from typing import Generator, Literal, Optional

from otaclient.app import errors as ota_errors
Expand All @@ -37,14 +37,14 @@
from otaclient.app.proto import wrapper

from ._common import CMDHelperFuncs, OTAStatusFilesControl, SlotMountHelper
from .configs import cboot_cfg as cfg
from ._jetson_common import (
FirmwareBSPVersionControl,
NVBootctrlCommon,
SlotID,
parse_bsp_version,
update_extlinux_cfg,
)
from .configs import cboot_cfg as cfg
from .protocol import BootControllerProtocol

logger = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions otaclient/app/boot_control/_jetson_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@


from __future__ import annotations

import logging
import re
import subprocess
Expand Down
12 changes: 5 additions & 7 deletions otaclient/app/boot_control/_jetson_uefi.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@


from __future__ import annotations

import logging
import os
import re
Expand All @@ -27,22 +28,19 @@
from typing import Generator

from otaclient.app import errors as ota_errors
from otaclient.app.configs import config as cfg
from otaclient.app.common import copytree_identical, write_str_to_file_sync
from otaclient.app.configs import config as cfg
from otaclient.app.proto import wrapper
from ._common import (
OTAStatusFilesControl,
SlotMountHelper,
CMDHelperFuncs,
)
from .configs import jetson_uefi_cfg as boot_cfg

from ._common import CMDHelperFuncs, OTAStatusFilesControl, SlotMountHelper
from ._jetson_common import (
FirmwareBSPVersionControl,
NVBootctrlCommon,
SlotID,
parse_bsp_version,
update_extlinux_cfg,
)
from .configs import jetson_uefi_cfg as boot_cfg
from .protocol import BootControllerProtocol

logger = logging.getLogger(__name__)
Expand Down

0 comments on commit 4c7fa47

Please sign in to comment.