diff --git a/pmb/build/_package.py b/pmb/build/_package.py index b9ab66b9..bbd9f8f3 100644 --- a/pmb/build/_package.py +++ b/pmb/build/_package.py @@ -1,12 +1,11 @@ # Copyright 2023 Oliver Smith # SPDX-License-Identifier: GPL-3.0-or-later import datetime -import enum from typing import Any, Callable, Dict, List, Optional, Set, TypedDict from pmb.build.other import BuildStatus from pmb.core.arch import Arch from pmb.core.context import Context -from pmb.core.pkgrepo import pkgrepo_paths, pkgrepo_relative_path +from pmb.core.pkgrepo import pkgrepo_relative_path from pmb.helpers import logging from pathlib import Path diff --git a/pmb/chroot/apk.py b/pmb/chroot/apk.py index ee23bfda..b1f43f62 100644 --- a/pmb/chroot/apk.py +++ b/pmb/chroot/apk.py @@ -7,7 +7,7 @@ import pmb.chroot.apk_static from pmb.core.arch import Arch from pmb.helpers import logging import shlex -from typing import List, Sequence, Set, Tuple +from typing import List, Sequence, Set import pmb.build import pmb.chroot diff --git a/pmb/config/pmaports.py b/pmb/config/pmaports.py index ca92ac6b..e391d073 100644 --- a/pmb/config/pmaports.py +++ b/pmb/config/pmaports.py @@ -155,7 +155,7 @@ def read_config_channel(): remote = pmb.helpers.git.get_upstream_remote(aports) logging.info("NOTE: fix the error by rebasing or cherry picking relevant" " commits from this branch onto a branch that is on a" - f" supported channel: master, v24.06, …") + " supported channel: master, v24.06, …") logging.info("NOTE: as workaround, you may pass --config-channels with a" " custom channels.cfg. Reference:" " https://postmarketos.org/channels.cfg")