ruff: run check --fix (MR 2252)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-06-22 19:03:23 +02:00 committed by Oliver Smith
parent cb6cd3bc4c
commit e6c737f342
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 3 additions and 4 deletions

View file

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

View file

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

View file

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