1
0
Fork 1
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:
Stefan Hansson 2025-02-04 16:21:21 +01:00 committed by Oliver Smith
parent 63fce4fcb5
commit 0620232819
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
7 changed files with 5 additions and 12 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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