forked from Mirror/pmbootstrap
ruff: run check --fix (MR 2252)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
cb6cd3bc4c
commit
e6c737f342
3 changed files with 3 additions and 4 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Copyright 2023 Oliver Smith
|
# Copyright 2023 Oliver Smith
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
import datetime
|
import datetime
|
||||||
import enum
|
|
||||||
from typing import Any, Callable, Dict, List, Optional, Set, TypedDict
|
from typing import Any, Callable, Dict, List, Optional, Set, TypedDict
|
||||||
from pmb.build.other import BuildStatus
|
from pmb.build.other import BuildStatus
|
||||||
from pmb.core.arch import Arch
|
from pmb.core.arch import Arch
|
||||||
from pmb.core.context import Context
|
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 pmb.helpers import logging
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ import pmb.chroot.apk_static
|
||||||
from pmb.core.arch import Arch
|
from pmb.core.arch import Arch
|
||||||
from pmb.helpers import logging
|
from pmb.helpers import logging
|
||||||
import shlex
|
import shlex
|
||||||
from typing import List, Sequence, Set, Tuple
|
from typing import List, Sequence, Set
|
||||||
|
|
||||||
import pmb.build
|
import pmb.build
|
||||||
import pmb.chroot
|
import pmb.chroot
|
||||||
|
|
|
@ -155,7 +155,7 @@ def read_config_channel():
|
||||||
remote = pmb.helpers.git.get_upstream_remote(aports)
|
remote = pmb.helpers.git.get_upstream_remote(aports)
|
||||||
logging.info("NOTE: fix the error by rebasing or cherry picking relevant"
|
logging.info("NOTE: fix the error by rebasing or cherry picking relevant"
|
||||||
" commits from this branch onto a branch that is on a"
|
" 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"
|
logging.info("NOTE: as workaround, you may pass --config-channels with a"
|
||||||
" custom channels.cfg. Reference:"
|
" custom channels.cfg. Reference:"
|
||||||
" https://postmarketos.org/channels.cfg")
|
" https://postmarketos.org/channels.cfg")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue