mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-12 19:09:56 +03:00
pmb: Remove unused imports (MR 2545)
This commit is contained in:
parent
63fce4fcb5
commit
0620232819
7 changed files with 5 additions and 12 deletions
|
@ -4,7 +4,7 @@
|
|||
import sys
|
||||
import os
|
||||
import traceback
|
||||
from typing import Any, Optional, TYPE_CHECKING
|
||||
from typing import TYPE_CHECKING
|
||||
from pathlib import Path
|
||||
|
||||
from pmb.helpers.exceptions import BuildFailedError, NonBugError
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Copyright 2023 Oliver Smith
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
import os
|
||||
from pmb.core.arch import Arch
|
||||
from pmb.core.context import get_context
|
||||
from pmb.core.pkgrepo import pkgrepo_default_path
|
||||
from pmb.helpers import logging
|
||||
|
@ -13,7 +12,7 @@ import pmb.aportgen.linux
|
|||
import pmb.aportgen.musl
|
||||
import pmb.aportgen.grub_efi
|
||||
import pmb.config
|
||||
from pmb.types import AportGenEntry, PmbArgs
|
||||
from pmb.types import AportGenEntry
|
||||
import pmb.helpers.cli
|
||||
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ import glob
|
|||
from pmb.helpers import logging
|
||||
import os
|
||||
from pathlib import Path
|
||||
from typing import Any, TypedDict
|
||||
from typing import TypedDict
|
||||
import pmb.chroot
|
||||
from pmb.types import Env, PmbArgs
|
||||
from pmb.types import Env
|
||||
import pmb.helpers.cli
|
||||
from pmb.core import Chroot
|
||||
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from __future__ import annotations
|
||||
import enum
|
||||
from typing import Optional
|
||||
from collections.abc import Generator
|
||||
from pathlib import Path, PosixPath, PurePosixPath
|
||||
from pmb.types import PmbArgs
|
||||
from pmb.helpers import frontend
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
import copy
|
||||
from typing import Any, Generic, Optional, TypeVar, overload
|
||||
from typing import Any, Generic, TypeVar, overload
|
||||
from collections.abc import Callable
|
||||
|
||||
import inspect
|
||||
|
|
|
@ -7,7 +7,6 @@ import socket
|
|||
import time
|
||||
|
||||
import pmb.chroot
|
||||
from pmb.types import PmbArgs
|
||||
import pmb.helpers.run
|
||||
from pmb.core import Chroot
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
import os
|
||||
from pathlib import Path
|
||||
from typing import Optional
|
||||
from pmb.core.arch import Arch
|
||||
from pmb.helpers import logging
|
||||
import shlex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue